Fraction
Represents an integral fraction.
Constructors
Constructor | Description |
new(value)
Signature: value:int64 -> unit
|
|
new(numerator, denominator)
Signature: (numerator:int64 * denominator:int64) -> unit
|
Instance members
Instance member | Description |
Equals(obj)
Signature: obj:obj -> bool
Modifiers: abstract |
|
GetHashCode()
Signature: unit -> int
Modifiers: abstract |
|
Reduced
Signature: Fraction
|
|
ToString()
Signature: unit -> string
Modifiers: abstract |
|
Value
Signature: float
|
Static members
Static member | Description |
IsInfinity(f)
Signature: f:Fraction -> bool
|
Returns whether the specified evaluates to negative or positive infinity. |
IsNaN(f)
Signature: f:Fraction -> bool
|
Returns whether the specified evaluates to a value that is not a number (Fraction.NaN). |
IsNegativeInfinity(f)
Signature: f:Fraction -> bool
|
Returns whether the specified evaluates to negative infinity. |
IsPositiveInfinity(f)
Signature: f:Fraction -> bool
|
Returns whether the specified evaluates to positive infinity. |
op_Addition(a, b)
Signature: (a:Fraction * b:Fraction) -> Fraction
|
|
op_Division(a, b)
Signature: (a:Fraction * b:Fraction) -> Fraction
|
|
op_Equality(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_GreaterThan(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_GreaterThanOrEqual(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_Inequality(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_LessThan(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_LessThanOrEqual(a, b)
Signature: (a:Fraction * b:Fraction) -> bool
|
|
op_Multiply(a, b)
Signature: (a:Fraction * b:Fraction) -> Fraction
|
|
op_Subtraction(a, b)
Signature: (a:Fraction * b:Fraction) -> Fraction
|
|
op_UnaryNegation(a)
Signature: a:Fraction -> Fraction
|
|
op_UnaryPlus(a)
Signature: a:Fraction -> Fraction
|
|
Parse(s)
Signature: s:string -> Fraction
|