cvs commit: src/lib/msun/src math.h
David Schultz
das at FreeBSD.org
Fri Jan 14 18:55:11 PST 2005
das 2005-01-15 02:55:10 UTC
FreeBSD src repository
Modified files:
lib/msun/src math.h
Log:
Most libm routines depend on the rounding mode and/or set exception
flags, so they are not pure. Remove the __pure2 annotation from them.
I believe that the following routines and their float and long double
counterparts are the only ones here that can be __pure2:
copysign is* fabs finite fmax fmin fpclassify ilogb nan signbit
When gcc supports FENV_ACCESS, perhaps there will be a new annotation
that allows the other functions to be considered pure when FENV_ACCESS
is off.
Discussed with: bde
Revision Changes Path
1.53 +29 -31 src/lib/msun/src/math.h
More information about the cvs-src
mailing list