Numerics.BigInteger Structure (F#)
The type of arbitrary-sized integers
Namespace/Module Path: System.Numerics
Assembly: FSharp.Core (in FSharp.Core.dll)
[<CustomEquality>] [<CustomComparison>] type BigInteger = struct interface IComparable new BigInteger : int64 -> BigInteger new BigInteger : int -> BigInteger static member Abs : BigInteger -> BigInteger static member DivRem : BigInteger * BigInteger * byref<BigInteger> -> BigInteger static member GreatestCommonDivisor : BigInteger * BigInteger -> BigInteger static member Parse : string -> BigInteger static member Pow : BigInteger * int32 -> BigInteger member this.IsOne : bool member this.IsZero : bool static member One : BigInteger member this.Sign : int static member Zero : BigInteger static member ( + ) : BigInteger * BigInteger -> BigInteger static member ( / ) : BigInteger * BigInteger -> BigInteger static member ( = ) : BigInteger * BigInteger -> bool static member op_Explicit : BigInteger -> int32 static member op_Explicit : BigInteger -> int64 static member op_Explicit : BigInteger -> float static member ( > ) : BigInteger * BigInteger -> bool static member ( >= ) : BigInteger * BigInteger -> bool static member ( <> ) : BigInteger * BigInteger -> bool static member ( < ) : BigInteger * BigInteger -> bool static member ( <= ) : BigInteger * BigInteger -> bool static member ( % ) : BigInteger * BigInteger -> BigInteger static member ( * ) : BigInteger * BigInteger -> BigInteger static member ( - ) : BigInteger * BigInteger -> BigInteger static member ( ~- ) : BigInteger -> BigInteger static member ( ~+ ) : BigInteger -> BigInteger end
This type is provided for use only with the F# Runtime that targets .NET Framework 2.0. If you are using .NET Framework 4, use the .NET Framework 4 type with the same name, BigInteger.
|
Member |
Description |
|---|---|
|
Return the modulus of big integers |
|
|
Return the product of big integers |
|
|
Return the sum of two big integers |
|
|
Return the difference of two big integers |
|
|
Return the ratio of two big integers |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
This operator is for consistency when this type be used from other CLI languages |
|
|
Return the given big integer |
|
|
Return the negation of a big integer |
|
|
Compute the absolute value of a big integer |
|
|
Compute the ratio and remainder of two big integers |
|
|
Return the greatest common divisor of two big integers |
|
|
Get the big integer for one |
|
|
Convert a big integer to a floating point number |
|
|
Parse a big integer from a string format |
|
|
Return n^m for two big integers |
|
|
Get the big integer for zero |