I've accidently found a blocking problem in StrictMath.sin(double a)
during mauve testing of classpath-0.12. (for example, blocked when
a=1e50)
The reason was that 'do~while' had caused infinite loop in
StrictMath.remPiOver2(double[], double[], int, int). The 'do-while'
goes to infinite loop when recompute=true.
>From the review of fdlibm library in classpath, It seems to be needed
a simple correction of StrictMath.remPiOver2 as follows.
ykleelinux:~/project/classpath$ diff -u /tmp/StrictMath.java
classpath/java/lang/StrictMath.java
--- /tmp/StrictMath.java 2004-12-22 15:04:23.000000000 +0900
+++ java/lang/StrictMath.java 2004-10-13 17:24:05.000000000 +0900
@@ -1620,8 +1620,6 @@
}
}
- recompute = false;
-
// Check if recomputation is needed.
if (z == 0)
{
_______________________________________________
Classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath