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

(1.1) java.lang.Math.acos() does not conform to java specs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 1.1.8
    • core-libs
    • generic
    • generic

    Description



      Name: inC81039 Date: 06/04/99



      According to "Java Language Specification" for Math.acos()
         "If argument is NaN or its absolute value is greater than 1,
          then the result is NaN."

      However, actual results are different:
      Math.acos(-10) = 0
      Math.acos( 10) = 0

      ======================================================================

      Attachments

        Activity

          People

            mmcclosksunw Michael Mccloskey (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: