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

No SIGN function in class Math

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0
    • core-libs
    • tiger
    • generic
    • generic



      Name: rmT116609 Date: 11/18/2002


      DESCRIPTION OF THE PROBLEM :
      There is no function Math.sign() for finding the sign of its argument
      positive => +1, negative => -1, zero => 0

      CUSTOMER WORKAROUND :
      This function is not strictly needed, but it can sometimes be more useful than lots of if then else clauses.
      (Review ID: 167188)
      ======================================================================

            darcy Joe Darcy
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: