Big Rational Methods
Methods
Abs | Returns the absolute value of a rational number. |
Add | Adds two rational numbers. |
Ceiling | Rounds a rational number up to the nearest integer. |
Compare | Compares this instance to a specified rational number and returns an indication of their relative values. |
Compare | Compares this instance to a specified rational number and returns an indication of their relative values. |
Compare | Compares this instance to a specified rational number and returns an indication of their relative values. |
Deconstruct | Deconstructs a rational number into its numerator and denominator. |
Divide | Divides a rational number by another and returns the result. |
Equals( | Returns whether two rational numbers represent the same value. |
Equals( |
Returns whether this instance is equal to a specified object.
(Overrides ValueType.Equals(Object)) |
Floor | Rounds a rational number down to the nearest integer. |
Get |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()) |
Get | Gets the Type of the current instance. (Inherited from Object) |
IsNegative | Determines if a value represents a negative real number. |
IsPositive | Determines if a value represents zero or a positive real number. |
Max | Returns the largest of two rational numbers. |
Max | Compares two values to compute which is greater. |
Min | Returns the smallest of two rational numbers. |
Min | Compares two values to compute which is lesser. |
Multiply( | Multiplies a rational number by an arbitrary precision integer. |
Multiply( | Multiplies a rational number by an arbitrary precision integer. |
Multiply( | Multiplies two rational numbers. |
Multiply( | Multiplies a rational number by an integer. |
Multiply( | Multiplies a rational number by an integer. |
Negate | Negates a rational number from another and returns the result. |
Parse( | Parses a span of characters into a value. |
Parse( | Parses a string into a value. |
Parse( | Parses a span of characters into a value. |
Parse( | Tries to parse a string into a value. |
Pow | Raises a BigRational to an integer power. |
Reciprocal | Returns the reciprocal (inverse) of a rational number.. |
Round( | Rounds a rational number to the nearest integer. |
Round( | Rounds a rational number to the specified number of decimal digits. |
Scale | Multiplies a BigRational value by a power of two. |
Subtract | Subtracts a rational number from another and returns the result. |
ToString() |
Returns a string representation of the rational number.
(Overrides ValueType.ToString()) |
ToString( | Returns a string representation of a rational number. |
Truncate | Rounds a rational number towards zero. |
Try | Tries to format the value of the current instance into the provided span of characters. |
Try | Tries to parse a span of characters into a value. |
Try | Tries to parse a string into a value. |
Try | Tries to parse a span of characters into a value. |
Try | Tries to parse a string into a value. |