bde 2008-03-30 17:28:27 UTC FreeBSD src repository
Modified files: lib/msun/src e_hypot.c e_hypotf.c Log: Use the expression fabs(x+0.0)-fabs(y+0.0) instead of fabs(x+0.0)+fabs(y+0.0) when mixing NaNs. This improves consistency of the result by making it harder for the compiler to reorder the operands. (FP addition is not necessarily commutative because the order of operands makes a difference on some machines iff the operands are both NaNs.) Revision Changes Path 1.11 +1 -1 src/lib/msun/src/e_hypot.c 1.12 +1 -1 src/lib/msun/src/e_hypotf.c _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"