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

java.lang.math docs, atan2, incorrect (1.0.2)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1.6
    • docs
    • beta
    • generic
    • generic



      Name: dbT83986 Date: 02/08/99


      | Hello,
      |
      | In the Java 1.0.2
      | docs for java.lang.Math, the description for atan2 is incorrect. The
      | correct description
      | of atan2(y,x) should be that it returns the theta value for the
      | cartesian coordinate(x,y).
      | The given description has the arguments transposed.
      |
      | I see that this has been corrected in the docs for 1.2 but since a
      | search on atan2 first
      | gave me the 1.0.2 docs then perhaps either the 1.0.2 docs should be
      | corrected, or removed.
      |
      | Thanks.

      PS: I told Doug Kramer about this and he agreed that this needed
      to be fixed, and directed me here.
      (Review ID: 53144)
      ======================================================================

            jhosunw Jamie Ho (Inactive)
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: