]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Test case addition.
authorRyan S. Arnold <rsa@us.ibm.com>
Fri, 24 Jul 2009 15:14:16 +0000 (10:14 -0500)
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>
Fri, 24 Jul 2009 20:10:54 +0000 (15:10 -0500)
commit a7eb802f1147cc2237be3a410b3c658f59178d72
Author: Ulrich Drepper <drepper@redhat.com>
Date:   Sun May 11 17:49:25 2008 +0000

2008-02-11  Joseph Myers  <joseph@codesourcery.com>

[BZ #3406]
* sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value.
* math/libm-test.inc (exp_test): Test 88.72269439697265625.

math/libm-test.inc
sysdeps/ieee754/flt-32/w_expf.c

index b8a73ae1f60cb57d21cd95d598fe2501c32170bf..267d6077e1519aca110c1c84d304fbbdd7635250 100644 (file)
@@ -2510,6 +2510,7 @@ exp_test (void)
   TEST_f_f (exp, 3, M_E3l);
   TEST_f_f (exp, 0.75L, 2.11700001661267466854536981983709561L);
   TEST_f_f (exp, 50.0L, 5184705528587072464087.45332293348538L);
+  TEST_f_f (exp, 88.72269439697265625L, 3.40233126623160774937554134772290447915e38L);
 #ifdef TEST_LDOUBLE
   /* The result can only be represented in long double.  */
   TEST_f_f (exp, 1000.0L, 0.197007111401704699388887935224332313e435L);
index ad38fac0f3313767f8ed9d9b12ab9b084fcb9ee1..4ba21c7c42b52aa839d0e5b16a4bb623b1008d6a 100644 (file)
@@ -29,7 +29,7 @@ static const float
 #else
 static float
 #endif
-o_threshold=  8.8721679688e+01,  /* 0x42b17180 */
+o_threshold=  8.8722831726e+01,  /* 0x42b17217 */
 u_threshold= -1.0397208405e+02;  /* 0xc2cff1b5 */
 
 #ifdef __STDC__