I wonder if the Apple compiler is optimizing basic floating point operations into some SIMD/3dnow/etc instruction instead of using the old-fashioned x86 FPU. (There's some reason to avoid the FPU,...
If you print it to the maximum precision a double really gives you, you will see that it's not really 1500 -- it's 1499.999999999999773. The .999999999999773 is truncated down to 0 since floating...