------- Comment #5 from kargl at gcc dot gnu dot org 2007-06-03 16:35 ------- (In reply to comment #4)
> Function Alpha Generic ix86 IA64 PowerPC > > acosf - - - - - > acos - - - - - > cosf 1 - 1 1 1 > cos 2 - 2 2 2 > cosl - - 1 1 1 > logl - - - - 1 > log10f 2 - 1 1 2 > log10 1 - - - 1 > log10l - - 1 1 1 > powl - - - - 1 > ... > Since we link some of gcc with "-lm" and some with libfdlibm we have an > inconsistant math library upon which gcc is based. We can standardize and test > our math library to provide the same (correct) result on all platforms (as > IEEE > 754 requires). IEEE 754 does not discuss any of the functions you list above. In fact, IEEE 754 places requirements on exactly one function in libm, and that is sqrt(), which must be exact in all rounding modes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32180