math Methods |
The math type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() ![]() | copysign(Double, Double) |
Copies the sign of number2 to number1.
|
![]() ![]() ![]() | copysign(Single, Single) |
Copies the sign of number2 to number1.
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | exponent(Double) |
Gets the exponent bits of the specified floating-point number.
|
![]() ![]() | exponent(Single) |
Gets the exponent bits of the specified floating-point number.
|
![]() ![]() | fpclassify(Double) |
Categorizes the given floating point number into the categories: zero, subnormal, normal, infinite or NAN.
|
![]() ![]() | fpclassify(Single) |
Categorizes the given floating point number into the categories: zero, subnormal, normal, infinite or NAN.
|
![]() ![]() ![]() | frexp(Double, Int32) |
Decomposes the given floating-point number into a normalized fraction and an integral power of two.
|
![]() ![]() ![]() | frexp(Single, Int32) |
Decomposes the given floating-point number into a normalized fraction and an integral power of two.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | ilogb(Double) |
Gets the unbiased exponent of the specified floating-point number.
|
![]() ![]() ![]() | ilogb(Single) |
Gets the unbiased exponent of the specified floating-point number.
|
![]() ![]() | Int32BitsToSingle |
Converts the specified 32-bit signed integer to a single-precision floating point number.
|
![]() ![]() | isfinite(Double) |
Checks if the given number has finite value.
|
![]() ![]() | isfinite(Single) |
Checks if the given number has finite value.
|
![]() ![]() | isinf(Double) |
Checks if the given number is positive or negative infinity.
|
![]() ![]() | isinf(Single) |
Checks if the given number is positive or negative infinity.
|
![]() ![]() | isnan(Double) |
Checks if the given number is NaN (Not A Number).
|
![]() ![]() | isnan(Single) |
Checks if the given number is NaN (Not A Number).
|
![]() ![]() | isnormal(Double) |
Checks if the given number is normal.
|
![]() ![]() | isnormal(Single) |
Checks if the given number is normal.
|
![]() ![]() | isunordered(Double, Double) |
Gets a value that indicates whether two floating-point numbers are unordered.
|
![]() ![]() | isunordered(Single, Single) |
Gets a value that indicates whether two floating-point numbers are unordered.
|
![]() ![]() ![]() | ldexp(Double, Int32) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() ![]() | ldexp(Single, Int32) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() ![]() | logb(Double) |
Gets the unbiased exponent of the specified floating-point number.
|
![]() ![]() ![]() | logb(Single) |
Gets the unbiased exponent of the specified floating-point number.
|
![]() ![]() | mantissa(Double) |
Gets the mantissa bits of the specified floating-point number without the implicit leading 1 bit.
|
![]() ![]() | mantissa(Single) |
Gets the mantissa bits of the specified floating-point number without the implicit leading 1 bit.
|
![]() ![]() ![]() | nextafter(Double, Double) |
Gets the floating-point number that is next after fromNumber in the direction of towardNumber.
|
![]() ![]() ![]() | nextafter(Single, Single) |
Gets the floating-point number that is next after fromNumber in the direction of towardNumber.
|
![]() ![]() | nexttoward(Double, Double) |
Gets the floating-point number that is next after fromNumber in the direction of towardNumber.
|
![]() ![]() | nexttoward(Single, Single) |
Gets the floating-point number that is next after fromNumber in the direction of towardNumber.
|
![]() ![]() ![]() | scalbln(Double, Int64) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() ![]() | scalbln(Single, Int64) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() ![]() | scalbn(Double, Int32) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() ![]() | scalbn(Single, Int32) |
Scales the specified floating-point number by 2^exponent.
|
![]() ![]() | signbit(Double) |
Gets the sign bit of the specified floating-point number.
|
![]() ![]() | signbit(Single) |
Gets the sign bit of the specified floating-point number.
|
![]() ![]() ![]() | significand(Double) |
Gets the significand of the specified floating-point number.
|
![]() ![]() ![]() | significand(Single) |
Gets the significand of the specified floating-point number.
|
![]() ![]() | SingleToInt32Bits |
Converts the specified single-precision floating point number to a 32-bit signed integer.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |