Name: yyT116575 Date: 01/19/2001
~/project/visMineBench>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Java should incorporate the following methods into java.lang.Math:
copySign(x,y) returns x with the sign of y.
scalb(y,n) returns y * 2n for integers n without
explicitly computing 2n.
nextAfter(x,y) returns the next representable neighbor of x in the
direction towards y.
unordered(x,y) Returns true is one of its arguments is unordered
with respect to the other.
This occurs when at least one is a NaN.
fpClass(x) Returns an integer that indicates which of the
nine "kinds" of IEEE floating-point numbers x is.
logb(x) Returns the unbiased exponent of x.
These descriptions are copied from:
http://math.nist.gov/javanumerics/reports/jgfnwg-01.html
It also says there that IEEE 754 recommends these methods.
(Review ID: 115478)
======================================================================
~/project/visMineBench>java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
Java should incorporate the following methods into java.lang.Math:
copySign(x,y) returns x with the sign of y.
scalb(y,n) returns y * 2n for integers n without
explicitly computing 2n.
nextAfter(x,y) returns the next representable neighbor of x in the
direction towards y.
unordered(x,y) Returns true is one of its arguments is unordered
with respect to the other.
This occurs when at least one is a NaN.
fpClass(x) Returns an integer that indicates which of the
nine "kinds" of IEEE floating-point numbers x is.
logb(x) Returns the unbiased exponent of x.
These descriptions are copied from:
http://math.nist.gov/javanumerics/reports/jgfnwg-01.html
It also says there that IEEE 754 recommends these methods.
(Review ID: 115478)
======================================================================
- duplicates
-
JDK-4826652 Add copySign, nextAfter, nextUp, scalb, ilogb, etc. to Math and StrictMath
- Resolved
- relates to
-
JDK-4633024 Augment Java math libraries with methods from C libm and IEEE 754
- Closed
-
JDK-6341163 Add remaining IEEE 754 recommended functions to Math and StrictMath
- Closed
-
JDK-4780454 No SIGN function in class Math
- Resolved
-
JDK-4826732 Add ulp method for floating-point value
- Resolved