about summary refs log tree commit diff
path: root/stdlib/strtod_nan_main.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-05-16 06:03:08 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-05-16 06:03:08 +0200
commit9761bf4dfae04016bccaa82414719523b090dd60 (patch)
tree1abcf3d350f8540e87f3850cb111a13cfaf66d8f /stdlib/strtod_nan_main.c
parent69a01461ee1417578d2ba20aac935828b50f1118 (diff)
downloadglibc-9761bf4dfae04016bccaa82414719523b090dd60.tar.gz
glibc-9761bf4dfae04016bccaa82414719523b090dd60.tar.xz
glibc-9761bf4dfae04016bccaa82414719523b090dd60.zip
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.
Diffstat (limited to 'stdlib/strtod_nan_main.c')
-rw-r--r--stdlib/strtod_nan_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/strtod_nan_main.c b/stdlib/strtod_nan_main.c
index 12f6e7383d..80ecb78572 100644
--- a/stdlib/strtod_nan_main.c
+++ b/stdlib/strtod_nan_main.c
@@ -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)