Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).

This commit is contained in:
Aurelien Jarno 2012-04-08 22:45:13 +00:00 committed by Joseph Myers
parent 3884932b78
commit f77f123206
3 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
[BZ #13705]
* sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
instead of __kernel_standard_f.
2012-04-08 Mike Frysinger <vapier@gentoo.org>
* sysdeps/i386/i686/memset_chk.S: Update copyright year.

10
NEWS
View File

@ -16,11 +16,11 @@ Version 2.16
10346, 10545, 10716, 11174, 11322, 11365, 11451, 11494, 12047, 12340,
13058, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532, 13533,
13547, 13551, 13552, 13553, 13555, 13559, 13566, 13583, 13592, 13618,
13637, 13656, 13658, 13673, 13691, 13695, 13704, 13706, 13726, 13738,
13760, 13761, 13786, 13792, 13806, 13824, 13840, 13841, 13844, 13846,
13851, 13852, 13854, 13871, 13879, 13883, 13892, 13895, 13908, 13910,
13911, 13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920, 13921,
13926, 13928, 13938
13637, 13656, 13658, 13673, 13691, 13695, 13704, 13705, 13706, 13726,
13738, 13760, 13761, 13786, 13792, 13806, 13824, 13840, 13841, 13844,
13846, 13851, 13852, 13854, 13871, 13879, 13883, 13892, 13895, 13908,
13910, 13911, 13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920,
13921, 13926, 13928, 13938
* ISO C11 support:

View File

@ -31,12 +31,12 @@ __exp (double x)
if (__builtin_expect (isgreater (x, o_threshold), 0))
{
if (_LIB_VERSION != _IEEE_)
return __kernel_standard_f (x, x, 6);
return __kernel_standard (x, x, 6);
}
else if (__builtin_expect (isless (x, u_threshold), 0))
{
if (_LIB_VERSION != _IEEE_)
return __kernel_standard_f (x, x, 7);
return __kernel_standard (x, x, 7);
}
return __ieee754_exp (x);