Contents
What are the members of the rational type?
The Rational type exposes the following members. Gets the absolute value of a number. Gets an integer that represents the number of bits. Gets the denominator of a number. Returns a value that indicates whether a Rational object is signed. Returns a value that indicates whether a Rational object is finite.
How to negate the sign of a rational number?
Negates the sign of a rational number. Returns a value that indicates whether a rational number was raised to the power of another rational number successfully. Converts a rational number to the nearest double. Converts a rational number to its equivalent string representation. (Overrides ValueType.ToString () .)
How to calculate the floor of a rational number?
Creates a rational number by dividing one big integer by another. Returns the ceiling of a rational number. Returns the ceiling residual of a rational number. Returns the floor of a rational number. Returns the floor residual of a rational number. Returns the fractional part of a rational number.
How to calculate if an unsigned long is a rational number?
Returns a value that indicates whether an unsigned long is equal to a rational number. Returns a value that indicates whether a big integer is equal to a rational number. Returns a value that indicates whether a rational number is equal to a big integer. Returns a value that indicates whether a rational number is equal to another rational number.
How to calculate the value of a rational number?
Compares a rational number to a big integer. Compares a rational number to another rational number. Returns a value that indicates whether a rational number is equal to a double. Returns a value that indicates whether a rational number is equal to an integer. Returns a value that indicates whether a rational number is equal to a long integer.
How are rational numbers represented in.net framework?
Before the current version of the .NET Framework, making a reasonably useful representation of Rational numbers would have been a significant piece of work. The addition of the BigInteger made it possible to construct a Rational number of effectively infinite precision, which is a potentially very useful thing.