delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/11/00:45:29

Date: Thu, 10 Sep 1998 23:46:11 -0500 (EST)
From: Nathaniel Johnson <najohnso AT expert DOT cc DOT purdue DOT edu>
To: sousanet AT truenetrn DOT com DOT br
cc: djgpp AT delorie DOT com
Subject: Re: Floating/fixed point
In-Reply-To: <199809102313.XAA04697@truenetrn.com.br>
Message-ID: <Pine.GSO.3.96.980910234423.14317A-100000@expert.cc.purdue.edu>
MIME-Version: 1.0

fixed point is a special floating point that was made for speed... it uses
a 32 bit number to make up a float 16.16 

On Thu, 10 Sep 1998 sousanet AT cabugisat DOT com DOT br wrote:

> Hi,
> Could anyone explain the difference between floating point and fixed 
> point numbers in C? I know that C only has the type float, but I 
> found some functions for 'fixed point maths' in the Allegro library 
> for DJGPP.
> Thanks,
> Pedro Henrique Santos de Sousa
> Natal-RN, Brazil
> 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019