ieee754 -0.0f?
"Andras Balogh" <[email protected]> Wed, 01 Feb 2006 09:50:00 -0700
| Newsgroups | gmane.games.devel.general |
|---|---|
| Message-ID | <[email protected]> |
I know that -0.0f == +0.0f is true, but the floating point representation of the two numbers should be different, no? Shouldn't the negative zero have the sign bit set? Well, on my machine -0.0 and 0.0 are bitwise equal!! What's going on here? thx, Andras -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------- 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