Re: ieee754 -0.0f?
Jon Watte <[email protected]> Thu, 02 Feb 2006 09:52:23 -0800
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
> struct
> {
> unsigned m_mantissa : 24;
> unsigned m_exponent : 7;
> unsigned m_sign : 1;
> };
I believe the mantissa is only 23 bits, with a leading "implicit" one
for all exponents that aren't denormal. There are also 8 exponent bits.
Cheers,
/ h+
--
-- The early bird gets the worm, but the second mouse gets the cheese.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Gamedevlists-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-general
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=557