Re: [GD-General] ieee754 -0.0f?
Brought to you by:
vexxed72
From: Ash H. <hen...@gm...> - 2006-02-02 18:03:51
|
Indeed you are right. I'll be off hanging my head somewhere... ;) Regardless, it's pretty horrible thing to be doing. I think I originally wrote it to generate homework answers when I was doing my degree... hand converting numerical representations in the exam room was perhaps one of th= e most boring tasks I've faced. And clearly it didn't help me remember anything :) On 2/2/06, Jon Watte <hp...@mi...> wrote: > > > > 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=3Dlnk&kid=3D103432&bid=3D230486&dat= =3D121642 > _______________________________________________ > Gamedevlists-general mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-general > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D557 > |