Hi! I've fixed a number of bugs in StrictMath class (the RI here is fdlibm of some version).
ChangeLog entries:
* java/lang/StrictMath.java:
(acos(double)): Bug fix for x <= -1/2 case.
(atan(double)): Fix documentation typo.
(pow(double,double)): Fix a comment; put y == 1/2 case handling after
x == -0 case (since pow(-0, 1/2) == 0 but sqrt(-0) == -0); return -0
(or -INF) for pow(-0, 2*k) where k is non-zero integer; simplify
expression for "negative" variable.
(IEEEremainder(double,double)): Bug fix for x == -0 and x == -|y|
cases; bug fix for |y| >= 2**-1021 and |x| > |y|/2.
(remPiOver2(double[],double[],int,int)): Reset "recompute" at the
beginning of every do/while iteration.
(tan(double,double,boolean)): Negate the result if x <= -0.6744.
Regards.
classpath-ivmai-33.diff
Description: Binary data
