cvs commit: src/lib/msun/src math.h
Bruce Evans
bde at FreeBSD.org
Fri Mar 12 04:02:04 PST 2004
bde 2004/03/12 04:02:03 PST
FreeBSD src repository
Modified files:
lib/msun/src math.h
Log:
Initial support for C99's (or is it POSIX.1-2001's?) MATH_ERRNO,
MATH_ERREXCEPTION and math_errhandling, so that C99 applications at
least have the possibility of determining that errno is not set for
math functions. Set math_errhandling to the non-standard-conforming
value of 0 for now to indicate that we don't support either method
of reporting errors. We intentionally don't support MATH_ERRNO
because errno is a mistake, and we are missing support for
MATH_ERREXCEPTION (<fenv.h>, compiler support for <fenv.h>, and
actually setting the exception flags correctly).
Revision Changes Path
1.28 +6 -0 src/lib/msun/src/math.h
More information about the cvs-src
mailing list