Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4129222

Documentation Wrong For Math.acos(), Math.asin(), and Math.atan()

XMLWordPrintable

    • 1.2fcs
    • x86
    • windows_95
    • Not verified



      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)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: