about summary refs log tree commit diff
path: root/stdlib/strtod_nan_main.c
diff options
context:
space:
mode:
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)