Maciej W. Rozycki
Sat, 12 Dec 2009 05:08:02 -0800
Hello, Noticed in and taken from GCC sources, but present in the current head of the classpath tree (0.99-pre) too. This should be obvious -- the description of the atan() method incorrectly refers to "arcsin" rather than "arctan". Fixed thus.
2009-12-11 Maciej W. Rozycki <ma...@linux-mips.org>
* java/lang/StrictMath.java (atan): Correct description.
Please apply,
Maciej
classpath-0.98-20091211-atan.patch
Index: java/lang/StrictMath.java
===================================================================
--- java/lang/StrictMath.java (revision 155148)
+++ java/lang/StrictMath.java (working copy)
@@ -478,7 +478,7 @@ public final strictfp class StrictMath
}
/**
- * The trigonometric function <em>arcsin</em>. The range of angles returned
+ * The trigonometric function <em>arctan</em>. The range of angles returned
* is -pi/2 to pi/2 radians (-90 to 90 degrees). If the argument is NaN, the
* result is NaN; and the arctangent of 0 retains its sign.
*