 The treatment of the sign bit of NaNs for some simple operations (such as absolute value) is different from that for arithmetic operations.Traps are not required by the standard.There are other approaches to this sort of problem that would be more portable.