This is the mail archive of the mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ISO C99: Macros MATH_ERRNO, MATH_ERREXCEPT, math_errhandling

Andreas Jaeger <> writes:

> We need to define MATH_ERRNO and MATH_ERREXCEPT as macros when
> <math.h> is included.  I do think we've got to change glibc for this.

This should be coordinated with gcc.  This is why I won't do this now.

> Getting support for this in gcc seems to be the right thing - but we
> do need also program accordingly in glibc (if math_errhandling is 3,
> all math functions have to honour this).

This is should be the case for all library functions.  Gcc will only
set the variable to a different value if said so and in these
situations it can use inline functions etc.  Also, the __FAST_MATH__
stuff should probably also have influence.

> Uli, please add this to your glibc 2.2 ToDo list.

OK, done.  But it's nothing I would delay a release for.

---------------.      drepper at  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]