mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 00:30:07 +00:00
Don't use long double math functions if NO_LONG_DOUBLE
This commit is contained in:
parent
b2e722855b
commit
8dfdd0794a
@ -1,3 +1,8 @@
|
|||||||
|
2016-02-24 Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
* math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
|
||||||
|
if !NO_LONG_DOUBLE.
|
||||||
|
|
||||||
2016-02-22 Roland McGrath <roland@hack.frob.com>
|
2016-02-22 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
* sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
|
* sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
|
||||||
|
@ -30,12 +30,17 @@ do_test (void)
|
|||||||
header fix this test will not compile. */
|
header fix this test will not compile. */
|
||||||
if (isinff (1.0f)
|
if (isinff (1.0f)
|
||||||
|| !isinff (INFINITY)
|
|| !isinff (INFINITY)
|
||||||
|
#ifndef NO_LONG_DOUBLE
|
||||||
|| isinfl (1.0L)
|
|| isinfl (1.0L)
|
||||||
|| !isinfl (INFINITY)
|
|| !isinfl (INFINITY)
|
||||||
|
#endif
|
||||||
|| isnanf (2.0f)
|
|| isnanf (2.0f)
|
||||||
|| !isnanf (NAN)
|
|| !isnanf (NAN)
|
||||||
|
#ifndef NO_LONG_DOUBLE
|
||||||
|| isnanl (2.0L)
|
|| isnanl (2.0L)
|
||||||
|| !isnanl (NAN))
|
|| !isnanl (NAN)
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
printf ("FAIL: Failed to call is* functions.\n");
|
printf ("FAIL: Failed to call is* functions.\n");
|
||||||
exit (1);
|
exit (1);
|
||||||
|
Loading…
Reference in New Issue
Block a user