It is very possible for floating point implementations to be slightly different between compilers (can be corrected by changing the right settings, though)
- Saul On 24 March 2011 21:33, Chuzzle Guevero <headprogrammingc...@gmail.com>wrote: > Floating point representations are per-architecture, not per-platform. That > is, as long as you are using an x86 CPU, it will work. If you are compiling > on a 64-bit computer, that might be it, but I don't know much about what > happens when you compile Source. > > > On 3/24/2011 4:57 PM, Maarten De Meyer wrote: > >> there, that should do it as far as keywords go for future generations, >> might save someone a good night's sleep. >> >> FYI: The IS_NAN macro doesn't work on all platforms. Or the extern >> const int nanmask; is. Or it's wrong somewhere. But don't depend on IS_NAN >> on linux, it gives false positives. If anyone has an intelligent explanation >> on this, it'd be nice. My hypothesis is that the internal representation of >> floating points may differ on different platforms? >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders