projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
math.h: make __FLOAT_BITS and __DOUBLE_BITS C89
[musl]
/
src
/
math
/
erf.c
diff --git
a/src/math/erf.c
b/src/math/erf.c
index
c0fc41d
..
2f30a29
100644
(file)
--- a/
src/math/erf.c
+++ b/
src/math/erf.c
@@
-176,7
+176,7
@@
sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
static double erfc1(double x)
{
static double erfc1(double x)
{
- double s,P,Q;
+ double
_t
s,P,Q;
s = fabs(x) - 1;
P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6)))));
s = fabs(x) - 1;
P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6)))));
@@
-186,7
+186,8
@@
static double erfc1(double x)
static double erfc2(uint32_t ix, double x)
{
static double erfc2(uint32_t ix, double x)
{
- double s,z,R,S;
+ double_t s,R,S;
+ double z;
if (ix < 0x3ff40000) /* |x| < 1.25 */
return erfc1(x);
if (ix < 0x3ff40000) /* |x| < 1.25 */
return erfc1(x);