projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename __rem_pio2_slow to __rem_pio2_large
[libm]
/
src
/
math
/
__rem_pio2l.h
diff --git
a/src/math/__rem_pio2l.h
b/src/math/__rem_pio2l.h
index
3a747b1
..
130a8f0
100644
(file)
--- a/
src/math/__rem_pio2l.h
+++ b/
src/math/__rem_pio2l.h
@@
-17,7
+17,7
@@
/* ld80 version of __rem_pio2(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
/* ld80 version of __rem_pio2(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
- * use __rem_pio2_
slow()
+ * use __rem_pio2_
large() for large x
*/
#define BIAS (LDBL_MAX_EXP - 1)
*/
#define BIAS (LDBL_MAX_EXP - 1)
@@
-135,7
+135,7
@@
static inline int __rem_pio2l(long double x, long double *y)
nx = 3;
while (tx[nx-1] == zero)
nx--; /* skip zero term */
nx = 3;
while (tx[nx-1] == zero)
nx--; /* skip zero term */
- n = __rem_pio2_
slow
(tx,ty,e0,nx,2);
+ n = __rem_pio2_
large
(tx,ty,e0,nx,2);
r = (long double)ty[0] + ty[1];
w = ty[1] - (r - ty[0]);
if (expsign < 0) {
r = (long double)ty[0] + ty[1];
w = ty[1] - (r - ty[0]);
if (expsign < 0) {