[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r5134 - in /branches/eglibc-2_6/libc: ChangeLog.eglibc math/libm-test.inc sysdeps/ieee754/flt-32/w_expf.c



Author: joseph
Date: Mon Feb 11 12:24:26 2008
New Revision: 5134

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

Modified:
    branches/eglibc-2_6/libc/ChangeLog.eglibc
    branches/eglibc-2_6/libc/math/libm-test.inc
    branches/eglibc-2_6/libc/sysdeps/ieee754/flt-32/w_expf.c

Modified: branches/eglibc-2_6/libc/ChangeLog.eglibc
==============================================================================
--- branches/eglibc-2_6/libc/ChangeLog.eglibc (original)
+++ branches/eglibc-2_6/libc/ChangeLog.eglibc Mon Feb 11 12:24:26 2008
@@ -1,3 +1,9 @@
+2008-02-11  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #3406]
+	* sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Correct value.
+	* math/libm-test.inc (exp_test): Test 88.72269439697265625.
+
 2007-10-28  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	Backport:

Modified: branches/eglibc-2_6/libc/math/libm-test.inc
==============================================================================
--- branches/eglibc-2_6/libc/math/libm-test.inc (original)
+++ branches/eglibc-2_6/libc/math/libm-test.inc Mon Feb 11 12:24:26 2008
@@ -2497,6 +2497,7 @@
   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);

Modified: branches/eglibc-2_6/libc/sysdeps/ieee754/flt-32/w_expf.c
==============================================================================
--- branches/eglibc-2_6/libc/sysdeps/ieee754/flt-32/w_expf.c (original)
+++ branches/eglibc-2_6/libc/sysdeps/ieee754/flt-32/w_expf.c Mon Feb 11 12:24:26 2008
@@ -29,7 +29,7 @@
 #else
 static float
 #endif
-o_threshold=  8.8721679688e+01,  /* 0x42b17180 */
+o_threshold=  8.8722831726e+01,  /* 0x42b17217 */
 u_threshold= -1.0397208405e+02;  /* 0xc2cff1b5 */
 
 #ifdef __STDC__