Date: Fri, 12 Mar 2004 04:02:04 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/msun/src math.h Message-ID: <200403121202.i2CC24dS050243@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403121202.i2CC24dS050243>
