comparison libquadmath/math/acoshq.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents 561a7518be6b
children 1830386684a0
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* e_acoshl.c -- long double version of e_acosh.c. 1 /* acoshq.c -- __float128 version of e_acosh.c.
2 * Conversion to long double by Jakub Jelinek, jj@ultra.linux.cz. 2 * Conversion to long double by Jakub Jelinek, jj@ultra.linux.cz.
3 */ 3 */
4 4
5 /* 5 /*
6 * ==================================================== 6 * ====================================================
11 * software is freely granted, provided that this notice 11 * software is freely granted, provided that this notice
12 * is preserved. 12 * is preserved.
13 * ==================================================== 13 * ====================================================
14 */ 14 */
15 15
16 /* __ieee754_acoshl(x) 16 /* acoshq(x)
17 * Method : 17 * Method :
18 * Based on 18 * Based on
19 * acoshl(x) = logl [ x + sqrtl(x*x-1) ] 19 * acoshl(x) = logl [ x + sqrtl(x*x-1) ]
20 * we have 20 * we have
21 * acoshl(x) := logl(x)+ln2, if x is large; else 21 * acoshl(x) := logl(x)+ln2, if x is large; else