THE PACKAGE JAVA.LANG
java.lang.Double
20.10
20.10.18
public static boolean isNaN(double v)
The result is
true
if and only if the value of the argument is NaN.
20.10.19
public boolean isInfinite()
The result is
true
if and only if the value represented by this
Double
object is
positive infinity or negative infinity.
20.10.20
public static boolean isInfinite(double v)
The result is
true
if and only if the value of the argument is positive infinity or
negative infinity.
20.10.21
public static long doubleToLongBits(double value)
The result is a representation of the floating point argument according to the IEEE
754 floating point double format bit layout:
Bit 63 (the bit that is selected by the mask
0x8000000000000000L
) repre
sents the sign of the floating point number.
Bits 62 52 (the bits that are selected by the mask
0x7ff0000000000000L
)
represent the exponent.
Bits 51 0 (the bits that are selected by the mask
0x000fffffffffffffL
) rep
resent the significand (sometimes called the mantissa) of the floating point
number.
If the argument is positive infinity, the result will be
0x7ff0000000000000L
.
If the argument is negative infinity, the result will be
0xfff0000000000000L
.
If the argument is NaN, the result will be
0x7ff8000000000000L
.
In all cases, the result is a
long
integer that, when given to the
longBitsToDouble
method ( 20.10.22), will produce a floating point value
equal to the argument to
doubleToLongBits
.
515
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved