projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5eefa6
)
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Use sincos
author
Andreas Jaeger
<aj@suse.de>
Sat, 7 Apr 2001 18:31:54 +0000
(18:31 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Sat, 7 Apr 2001 18:31:54 +0000
(18:31 +0000)
instead of separate sin and cos.
(__ieee754_j1l): Likewise.
sysdeps/ieee754/ldbl-96/e_j1l.c
patch
|
blob
|
history
diff --git
a/sysdeps/ieee754/ldbl-96/e_j1l.c
b/sysdeps/ieee754/ldbl-96/e_j1l.c
index
67d4cc8
..
1cf8188
100644
(file)
--- a/
sysdeps/ieee754/ldbl-96/e_j1l.c
+++ b/
sysdeps/ieee754/ldbl-96/e_j1l.c
@@
-119,8
+119,7
@@
__ieee754_j1l (x)
y = fabsl (x);
if (ix >= 0x4000)
{ /* |x| >= 2.0 */
- s = __sinl (y);
- c = __cosl (y);
+ __sincosl (y, &s, &c);
ss = -s - c;
cc = s - c;
if (ix < 0x7ffe)
@@
-214,8
+213,7
@@
__ieee754_y1l (x)
return -one / zero;
if (ix >= 0x4000)
{ /* |x| >= 2.0 */
- s = __sinl (x);
- c = __cosl (x);
+ __sincosl (x, &s, &c);
ss = -s - c;
cc = s - c;
if (ix < 0x7fe00000)