Re: [GD-General] ieee754 -0.0f?
Brought to you by:
vexxed72
From: Andras B. <and...@gm...> - 2006-02-01 17:58:55
|
> They are different, on an IEEE compliant system. Yeah, I know, that's why I'm surprised! :) > -0.0 = 0xbf800000 > +0.0 = 0x3f800000 These are -1.0f and +1.0f, but yeah, I've got the point. > You didn't mention the language or how you're generating those values. > Using VC6 on a Pentium-M by setting global floats I get the correct > and expected values. VS7.1 running on Athlon64, see source in previous post. thanks, Andras |