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_pio2.c
diff --git
a/src/math/__rem_pio2.c
b/src/math/__rem_pio2.c
index
4373e22
..
a7d779e
100644
(file)
--- a/
src/math/__rem_pio2.c
+++ b/
src/math/__rem_pio2.c
@@
-14,7
+14,7
@@
/* __rem_pio2(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
/* __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
*/
#include "libm.h"
*/
#include "libm.h"
@@
-164,7
+164,7
@@
medium:
tx[2] = z;
nx = 3;
while (tx[nx-1] == zero) nx--; /* skip zero term */
tx[2] = z;
nx = 3;
while (tx[nx-1] == zero) nx--; /* skip zero term */
- n = __rem_pio2_
slow
(tx,ty,e0,nx,1);
+ n = __rem_pio2_
large
(tx,ty,e0,nx,1);
if (hx < 0) {
y[0] = -ty[0];
y[1] = -ty[1];
if (hx < 0) {
y[0] = -ty[0];
y[1] = -ty[1];