AmigaActive (1459/1525)

From:Andrew Crowe
Date:29 Sep 2000 at 21:01:56
Subject:Re: To sum it up

Hi Everybody,

>> if there supplied equation generates a result somewhere during the
>> procedure which falls outside that window WHAM there's that problem
>> again. If you don't believe me just sit down with pencil and paper
>> and calculate .1 as a binary number.
>
> 00000000 00000001
>
> thought thats what 'float' values were all about?

Nope, If I remember the GNVQ unit on data types, a floating point
value is saved in binary as

xxxxxxxx^yyyy (8 or 16 bits to the power of another 4 or 8 signed).

Therefore 0.5 would be 0010^1110 (2^-2) Well, I think so anyway, I
can't remember where the notes on that went :)

By the way, Alan, ahem, Linux, ahem :)

See ya :)



Manta Soft - Amiga programming & webpage designing
http://mantasoft.aio.co.uk/ ICQ: 21829166
Homepage updated 22/05/00 - New game: Pictris released
- ------------------- Quote of the day: -------------------- -
Tiger stripes are like human fingerprints - no two tigers have the
same
pattern of stripes.
--The Miscellanea Digest

Quote carefully and read all ADMIN:README mails