This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Make fenv.h FE_* macros usable in #if (bug 3439)
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 21 Nov 2012 19:03:13 +0100
- Subject: Re: Make fenv.h FE_* macros usable in #if (bug 3439)
- References: <Pine.LNX.4.64.1211030200080.23332@digraph.polyomino.org.uk>
On 2012.11.03 at 02:01 +0000, Joseph S. Myers wrote:
> This patch fixes the remaining part of bug 3439, FE_* constants in
> fenv.h not being usable in #if, in the same way as my recent fix for
> math.h constants (as suggested by Paul Eggert in that bug).
I now get:
...
make[2]: *** [/var/tmp/glibc-build/math/test-fenv.out] Error 1
math % cat test-fenv.out
Test: Initially all exceptions should be cleared
Pass: Exception "DIVBYZERO" is not set
Pass: Exception "INVALID" is not set
Fail: Exception "INEXACT" is set
Pass: Exception "UNDERFLOW" is not set
Pass: Exception "OVERFLOW" is not set
--
Markus