public class FloatingDecimal extends Object
BinaryToASCIIConverter
 instance may be obtained and reused.| Modifier and Type | Class and Description | 
|---|---|
| static interface  | FloatingDecimal.BinaryToASCIIConverterA converter which can process single or double precision floating point values into an ASCII  Stringrepresentation. | 
| Constructor and Description | 
|---|
| FloatingDecimal() | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | numberOfLeadingZeros(long i)Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary
 representation of the specified  longvalue. | 
| static int | numberOfTrailingZeros(long i)Returns the number of zero bits following the lowest-order ("rightmost") one-bit in the two's complement binary
 representation of the specified  longvalue. | 
public static int numberOfLeadingZeros(long i)
long value. Returns 64 if the specified value has no one-bits in its
 two's complement representation, in other words if it is equal to zero.
 
 Note that this method is closely related to the logarithm base 2. For all positive long values x:
 
63 - numberOfLeadingZeros(x)
 64 - numberOfLeadingZeros(x - 1)
 i - the value whose number of leading zeros is to be computedlong value, or 64 if the value is equal to zero.public static int numberOfTrailingZeros(long i)
long value. Returns 64 if the specified value has no one-bits in its
 two's complement representation, in other words if it is equal to zero.i - the value whose number of trailing zeros is to be computedlong value, or 64 if the value is equal to zero.