about summary refs log tree commit diff
path: root/math/test-misc.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-02-28 17:12:25 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-15 19:06:02 +0100
commit67e971f18ffc9b3ea57cbccba54d5203d1e6a988 (patch)
treef62ff6123ac01815295b6d6f6f9dba73c1c65862 /math/test-misc.c
parent64487e126468f91ecdfe7ab7a0f3a82762874d5a (diff)
downloadglibc-67e971f18ffc9b3ea57cbccba54d5203d1e6a988.tar.gz
glibc-67e971f18ffc9b3ea57cbccba54d5203d1e6a988.tar.xz
glibc-67e971f18ffc9b3ea57cbccba54d5203d1e6a988.zip
Better distinguish between NaN/qNaN/sNaN.
Diffstat (limited to 'math/test-misc.c')
-rw-r--r--math/test-misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/test-misc.c b/math/test-misc.c
index 2df5d1e61f..c13bafa117 100644
--- a/math/test-misc.c
+++ b/math/test-misc.c
@@ -1074,7 +1074,7 @@ main (void)
       }
   }
 
-  /* Special NaNs in x86 long double.  Test for scalbl.  */
+  /* Special qNaNs in x86 long double.  Test for scalbl.  */
   {
     union
     {
@@ -1087,12 +1087,12 @@ main (void)
     r = scalbl (u.d, 0.0);
     if (!isnan (r))
       {
-	puts ("scalbl(NaN, 0) does not return NaN");
+	puts ("scalbl (qNaN, 0) does not return NaN");
 	result = 1;
       }
     else if (memcmp (&r, &u.d, sizeof (double)) != 0)
       {
-	puts ("scalbl(NaN, 0) does not return the same NaN");
+	puts ("scalbl (qNaN, 0) does not return the same NaN");
 	result = 1;
       }
   }