1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

math: Merge strtod_nan_*.h into math-type-macros-*.h

This change will eventually make it possible to compile
stdlib/strtod_nan_main.c as part of math/s_nan_template.c.
This commit is contained in:
Florian Weimer
2018-05-16 06:03:08 +02:00
parent 69a01461ee
commit 9761bf4dfa
22 changed files with 105 additions and 35 deletions

View File

@ -52,7 +52,7 @@ STRTOD_NAN (const STRING_TYPE *str, STRING_TYPE **endptr, STRING_TYPE endc)
mant = STRTOULL (str, &endp, 0);
if (endp == cp)
SET_MANTISSA (retval, mant);
SET_NAN_PAYLOAD (retval, mant);
out:
if (endptr != NULL)