Move "-sNaN" values into a separate variable (was: [PATCH RFC] <math.h> issignaling)
Joseph S. Myers
joseph@codesourcery.com
Fri Mar 15 20:01:00 GMT 2013
On Fri, 15 Mar 2013, Thomas Schwinge wrote:
> > glibc tests are not about how negation works for sNaN. You should have a
> > variable storing a negative sNaN (statically initialized to such) and use
> > that to test negative sNaN arguments to functions.
>
> Like this?
>
> * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
> variable.
Yes, like that.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list