summary refs log tree commit diff
path: root/sysdeps/generic/math-type-macros-ldouble.h
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-09-12 17:32:07 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-09-20 14:37:42 -0500
commit2c46d1148650edf5d02051c3794227d52618db0c (patch)
tree1471eeb1a0b3100b2167f151db57a2b0140bc028 /sysdeps/generic/math-type-macros-ldouble.h
parentfc7f4691d331acb206c9be2643fc2572eabac0e1 (diff)
downloadglibc-2c46d1148650edf5d02051c3794227d52618db0c.tar.gz
glibc-2c46d1148650edf5d02051c3794227d52618db0c.tar.xz
glibc-2c46d1148650edf5d02051c3794227d52618db0c.zip
Build s_nan* objects from a generic template
This requires adding a macro to synthesize the call
to __strto*_nan.  Since this is likely to be the only
usage ever for strto* functions in generated libm
calls, a dedicated macro is defined for it.
Diffstat (limited to 'sysdeps/generic/math-type-macros-ldouble.h')
-rw-r--r--sysdeps/generic/math-type-macros-ldouble.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/math-type-macros-ldouble.h b/sysdeps/generic/math-type-macros-ldouble.h
index 90773fa578..4f959da05f 100644
--- a/sysdeps/generic/math-type-macros-ldouble.h
+++ b/sysdeps/generic/math-type-macros-ldouble.h
@@ -25,6 +25,7 @@
 #define M_SUF(c) c ## l
 #define FLOAT long double
 #define CFLOAT _Complex long double
+#define M_STRTO_NAN __strtold_nan
 
 /* Supply the generic macros.  */
 #include <math-type-macros.h>