Re-styling of the sources revealed that the false branch of an
if-else construct in `asin` did not contain all the statements
that it should. (This was an issue -- a bad smell at least --
that's been around since 1995, according to the legacy SCCS ID.)

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss 2016-03-20 14:32:05 +01:00
parent 8dd5186a0d
commit 3127b9d34d

View File

@ -63,7 +63,7 @@
double
asin (double x)
{
double t = 0, w, p, q, c, r, s;
double t, w, p, q, c, r, s;
int hx, ix;
hx = __HI (x);
@ -85,10 +85,7 @@ asin (double x)
return x;
}
}
else
{
t = x * x;
}
t = x * x;
p = t * (pS0 + t * (pS1 + t * (pS2 + t * (pS3 + t * (pS4 + t * pS5)))));
q = one + t * (qS1 + t * (qS2 + t * (qS3 + t * qS4)));
w = p / q;