Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
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) ======================================================================
|