The FIRational type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| FIRational | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| CompareTo | Overloaded. | |
| Equals | Overloaded. | |
| GetHashCode |
Returns a hash code for this FIRational structure.
(Overrides ValueType..::.GetHashCode()()().) | |
| ToString | Overloaded. | |
| Truncate |
Returns the truncated value of the fraction.
|
Operators
| Name | Description | |
|---|---|---|
| Addition |
Standard implementation of the operator.
| |
| Decrement |
Standard implementation of the operator.
| |
| Division |
Standard implementation of the operator.
| |
| Equality |
Standard implementation of the operator.
| |
| Explicit | Overloaded. | |
| GreaterThan |
Standard implementation of the operator.
| |
| GreaterThanOrEqual |
Standard implementation of the operator.
| |
| Implicit | Overloaded. | |
| Increment |
Standard implementation of the operator.
| |
| Inequality |
Standard implementation of the operator.
| |
| LessThan |
Standard implementation of the operator.
| |
| LessThanOrEqual |
Standard implementation of the operator.
| |
| Modulus |
Standard implementation of the operator.
| |
| Multiply |
Standard implementation of the operator.
| |
| OnesComplement |
Returns the reciprocal value of this instance.
| |
| Subtraction |
Standard implementation of the operator.
| |
| UnaryNegation |
Standard implementation of the operator.
| |
| UnaryPlus |
Standard implementation of the operator.
|
Fields
| Name | Description | |
|---|---|---|
| Epsilon |
Represents the smallest positive FIRational value greater than zero. This field is constant.
| |
| MaxValue |
Represents the largest possible value of FIRational. This field is constant.
| |
| MinValue |
Represents the smallest possible value of FIRational. This field is constant.
|
Properties
| Name | Description | |
|---|---|---|
| Denominator |
The denominator of the fraction.
| |
| IsInteger |
Returns whether the fraction is representing an integer value.
| |
| Numerator |
The numerator of the fraction.
|