> i'm not a fp expert, but i think there are two problems here.  first
> it is bad form to generate -0 in the emulator, even if it is technically
> correct, and second, -0 is defined to be equal to 0 by the spec, so
> -0 == 0 should always be true.

I think you're right on the second point (I haven't read the IEEE spec
lately, just looked at wikipedia), and wrong on the first.  IEEE fp
definitely allows for positive and negative zero, so the emulator should
be generating them when the spec calls for them to do so.

I hope we will soon be emulating vfp floating point instead of the old
arm7500 architecture.


Reply via email to