United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4780454 : No SIGN function in class Math

Details
Type:
Enhancement
Submit Date:
2002-11-18
Status:
Resolved
Updated Date:
2003-05-16
Project Name:
JDK
Resolved Date:
2003-05-16
Component:
core-libs
OS:
generic
Sub-Component:
java.lang
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0
Fixed Versions:
5.0 (tiger)

Related Reports
Relates:
Relates:

Sub Tasks

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
EVALUATION

A reasonable request; will be considered as part of the larger math library work planned for Tiger.

###@###.### 2002-11-18
                                     
2002-11-18
SUGGESTED FIX

See code diffs in bug 4074599 or 4347132.

###@###.### 2003-05-09
                                     
2003-05-09
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
tiger

FIXED IN:
tiger

INTEGRATED IN:
tiger
tiger-b07


                                     
2004-06-14



Hardware and Software, Engineered to Work Together