BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibm

This commit is contained in:
Adhemerval Zanella 2013-03-04 11:37:51 -03:00
parent 6850863319
commit e0b780ad5b
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-02-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
[BZ #15055]
* sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
__ieee754_sqrl instead of __sqrl.
2013-03-01 Joseph Myers <joseph@codesourcery.com> 2013-03-01 Joseph Myers <joseph@codesourcery.com>
* sysdeps/powerpc/fpu/fpu_control.h: Move to ... * sysdeps/powerpc/fpu/fpu_control.h: Move to ...

2
NEWS
View File

@ -11,7 +11,7 @@ Version 2.18
11561, 13951, 14142, 14200, 14317, 14327, 14496, 14920, 14964, 14981, 11561, 13951, 14142, 14200, 14317, 14327, 14496, 14920, 14964, 14981,
14982, 14985, 14994, 14996, 15003, 15006, 15020, 15023, 15036, 15054, 14982, 14985, 14994, 14996, 15003, 15006, 15020, 15023, 15036, 15054,
15062, 15078, 15160. 15055, 15062, 15078, 15160.
* Add support for calling C++11 thread_local object destructors on thread * Add support for calling C++11 thread_local object destructors on thread
and program exit. This needs compiler support for offloading C++11 and program exit. This needs compiler support for offloading C++11

View File

@ -52,7 +52,7 @@ __ieee754_acoshl(long double x)
return __ieee754_logl(2.0*x-one/(x+__ieee754_sqrtl(t-one))); return __ieee754_logl(2.0*x-one/(x+__ieee754_sqrtl(t-one)));
} else { /* 1<x<2 */ } else { /* 1<x<2 */
t = x-one; t = x-one;
return __log1p(t+__sqrtl(2.0*t+t*t)); return __log1p(t+__ieee754_sqrtl(2.0*t+t*t));
} }
} }
strong_alias (__ieee754_acoshl, __acoshl_finite) strong_alias (__ieee754_acoshl, __acoshl_finite)