diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-09-12 17:32:07 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-09-20 14:37:42 -0500 |
commit | 2c46d1148650edf5d02051c3794227d52618db0c (patch) | |
tree | 1471eeb1a0b3100b2167f151db57a2b0140bc028 /sysdeps/generic/math-type-macros.h | |
parent | fc7f4691d331acb206c9be2643fc2572eabac0e1 (diff) | |
download | glibc-2c46d1148650edf5d02051c3794227d52618db0c.tar glibc-2c46d1148650edf5d02051c3794227d52618db0c.tar.gz glibc-2c46d1148650edf5d02051c3794227d52618db0c.tar.bz2 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.h')
-rw-r--r-- | sysdeps/generic/math-type-macros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/math-type-macros.h b/sysdeps/generic/math-type-macros.h index 78b883c877..c2488ec600 100644 --- a/sysdeps/generic/math-type-macros.h +++ b/sysdeps/generic/math-type-macros.h @@ -30,6 +30,9 @@ i.e expf expl exp. FLOAT - Resolves to the C typename of M_TYPE. CFLOAT - Resolves to the complex typename of M_TYPE. + M_STRTO_NAN - Resolves to the internal libc function which + converts a string into the appropriate FLOAT nan + value. Optionally, these headers may inject a non-standard definition for the following: |