Name: tb29552 Date: 04/15/98
1. View the online HTML documentation for the
java.lang.Math class.
Available on-line at:
http://java.sun.com/products/jdk/1.2/docs/api/java.lang.Math.html
2. Examine the entries for the acos(), asin(),
and atan() methods.
The arc sine, arc cosine, and arc tangent math
functions compute the ANGLE corresponding to a
given sine, cosine, or tangent value, respectively.
The documentation claims that the input argument
to each of these methods is an angle. This is
incorrect. These methods accept nondimensional
numeric arguments and RETURN angle values. They
are the inverse of the sine, cosine, and tangent
operations, respectively.
(Review ID: 28439)
======================================================================
- relates to
-
JDK-5081301 (spec) Math.asin(...) says arc sine of _angle_; acos, atan wrong too
-
- Resolved
-