JDK-4780454 : No SIGN function in class Math
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-11-18
  • Updated: 2017-05-16
  • Resolved: 2003-05-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 tigerFixed
Related Reports
Relates :  
Relates :  
Description

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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b07
14-06-2004

SUGGESTED FIX See code diffs in bug 4074599 or 4347132. ###@###.### 2003-05-09
09-05-2003

EVALUATION A reasonable request; will be considered as part of the larger math library work planned for Tiger. ###@###.### 2002-11-18
18-11-2002