On Thu, Nov 11, 2010 at 06:23:58PM +0000, Peter Maydell wrote: > The ARM architecture mandates that converting a NaN value to > integer gives zero. This isn't the behaviour of the SoftFloat > library, so NaNs must be special-cased.
This is correct, but it's really only correct if FP traps are disabled. (Also, the arm routines returning float* values is just awful. Not your fault, just a comment.) -Nathan