~vcs-imports/eglibc/trunk

« back to all changes in this revision

Viewing changes to libc/sysdeps/ieee754/ldbl-128ibm/e_acoshl.c

  • Committer: joseph
  • Date: 2014-01-03 17:51:28 UTC
  • Revision ID: svn-v4:7b3dc134-2b1b-0410-93df-9e9f96275f8d:trunk:24942
Merge changes between r24468 and r24941 from /fsf/trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
static const long double
31
31
one     = 1.0L,
32
 
ln2     = 6.93147180559945286227e-01L;  /* 0x3FE62E42, 0xFEFA39EF */
 
32
ln2     = M_LN2l;
33
33
 
34
34
long double
35
35
__ieee754_acoshl(long double x)
56
56
            return __ieee754_logl(2.0*x-one/(x+__ieee754_sqrtl(t-one)));
57
57
        } else {                        /* 1<x<2 */
58
58
            t = x-one;
59
 
            return __log1p(t+__ieee754_sqrtl(2.0*t+t*t));
 
59
            return __log1pl(t+__ieee754_sqrtl(2.0*t+t*t));
60
60
        }
61
61
}
62
62
strong_alias (__ieee754_acoshl, __acoshl_finite)