(1.1) java.lang.Math.log() in violation of spec

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1.8
    • Component/s: core-libs
    • generic
    • generic



      Name: inC81039 Date: 06/04/99



      According to "Java Language Specification" for Math.log()
         "If argument is NaN or less than zero, then the result is NaN."

      However, actual results are different:
      Math.log(-0.0000001) = -Infinity
      Math.log(-1) = -Infinity

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: