summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-09-12 17:11:45 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-09-20 14:37:41 -0500
commitfc7f4691d331acb206c9be2643fc2572eabac0e1 (patch)
treece1780079b58bba2560b0e7f7d5e05554786f40b /math
parent9f9834f582f87cc84bfaa11cff5f98fb661c288d (diff)
downloadglibc-fc7f4691d331acb206c9be2643fc2572eabac0e1.tar.gz
Remove __nan{f,,l} macros
Use the GCC builtin instead. With the exception of the files built from a template, they are unused. This is preparation for making the s_nanF objects generated.
Diffstat (limited to 'math')
-rw-r--r--math/s_nan.c1
-rw-r--r--math/s_nanf.c1
-rw-r--r--math/s_nanl.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/math/s_nan.c b/math/s_nan.c
index d9af7752ce..03e95f56ad 100644
--- a/math/s_nan.c
+++ b/math/s_nan.c
@@ -24,7 +24,6 @@
#include <ieee754.h>
-#undef __nan
double
__nan (const char *tagp)
{
diff --git a/math/s_nanf.c b/math/s_nanf.c
index 0dd6778f67..3046720a11 100644
--- a/math/s_nanf.c
+++ b/math/s_nanf.c
@@ -24,7 +24,6 @@
#include <ieee754.h>
-#undef __nanf
float
__nanf (const char *tagp)
{
diff --git a/math/s_nanl.c b/math/s_nanl.c
index e6149bc0c7..4b7b3d563c 100644
--- a/math/s_nanl.c
+++ b/math/s_nanl.c
@@ -24,7 +24,6 @@
#include <ieee754.h>
-#undef __nanl
long double
__nanl (const char *tagp)
{