20.9
java.lang.Float
THE PACKAGE JAVA.LANG
20.9.20
public boolean isInfinite()
The result is
true
 if and only if the value represented by this
Float
 object is pos 
itive infinity or negative infinity.
20.9.21
public static boolean isInfinite(float v)
The result is
true
 if and only if the value of the argument is positive infinity or
negative infinity.
20.9.22
public static int floatToIntBits(float value)
The result is a representation of the floating point argument according to the IEEE
754 floating point  single format  bit layout:
Bit 31 (the bit that is selected by the mask
0x80000000
) represents the sign of
the floating point number.
Bits 30 23 (the bits that are selected by the mask
0x7f800000
) represent the
exponent.
Bits 22 0 (the bits that are selected by the mask
0x007fffff
) represent the
significand (sometimes called the mantissa) of the floating point number.
If the argument is positive infinity, the result will be
0x7f800000
.
If the argument is negative infinity, the result will be
0xff800000
.
If the argument is NaN, the result will be
0x7fc00000
.
In all cases, the result is an integer that, when given to the
intBitsToFloat
method ( 20.9.23), will produce a floating point value equal to the argument to
floatToIntBits
.
20.9.23
public static float intBitsToFloat(int bits)
The argument is considered to be a representation of a floating point value accord 
ing to the IEEE 754 floating point  single format  bit layout. That floating point
value is returned as the result.
If the argument is
0x7f800000
, the result will be positive infinity.
If the argument is
0xff800000
, the result will be negative infinity.
508






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

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