Class Number
A simple class for number conversions.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public static class Number : object
Fields
Name | Description |
---|---|
MAX_RADIX | Max radix value. |
MIN_RADIX | Min radix value. |
Methods
Name | Description |
---|---|
BitCount(Int32) | |
BitCount(Int64) | |
DoubleToInt64Bits(Double) | NOTE: This was doubleToLongBits() in the JDK |
DoubleToRawInt64Bits(Double) | NOTE: This was doubleToRawLongBits() in the JDK |
FlipEndian(Char) | |
FlipEndian(Double) | |
FlipEndian(Int16) | |
FlipEndian(Int32) | |
FlipEndian(Int64) | |
FlipEndian(Single) | |
Int32BitsToSingle(Int32) | NOTE: This was intBitsToFloat() in the JDK |
IsNumber(Object) | |
NumberOfLeadingZeros(Int32) | |
NumberOfLeadingZeros(Int64) | |
NumberOfTrailingZeros(Int32) | |
NumberOfTrailingZeros(Int64) | |
Parse(String, Int32) | Parses a number in the specified radix. |
RotateLeft(Int32, Int32) | |
RotateRight(Int32, Int32) | |
Signum(Int64) | |
SingleToInt32Bits(Single) | NOTE: This was floatToIntBits() in the JDK |
SingleToInt64Bits(Single) | NOTE: This was floatToLongBits() in the JDK |
SingleToRawInt32Bits(Single) | NOTE: This was floatToRawIntBits() in the JDK |
ToBinaryString(Int32) | |
ToInt64(String) | Converts a System.String number to long. |
ToString(Int64) | Converts a number to System.String. |
ToString(Int64, Int32) | Converts a number to System.String in the specified radix. |
ToString(Single) | Converts a number to System.String. |
URShift(Int32, Int32) | Performs an unsigned bitwise right shift with the specified number |
URShift(Int64, Int32) | Performs an unsigned bitwise right shift with the specified number |