[Home] Type Microsoft.FSharp.Math.BigInt


The type of arbitrary-sized integers

Full Type Signature

[<StructuralEqualityAttribute (false); StructuralComparisonAttribute (false)>]
type BigInt =
  struct
    interface IComparable
    new : int64 -> BigInt
    new : int -> BigInt
    static member Abs : BigInt -> BigInt
    static member DivMod : BigInt * BigInt -> BigInt * BigInt
    static member Factorial : BigInt -> BigInt
    static member GCD : BigInt * BigInt -> BigInt
    static member Parse : string -> BigInt
    static member Pow : BigInt * BigInt -> BigInt
    static member Sign : BigInt -> int
    static member ToDouble : BigInt -> float
    static member ToInt32 : BigInt -> int32
    static member ToInt64 : BigInt -> int64
    member internal IsNegative : bool
    member internal IsPositive : bool
    member internal IsSmall : bool
    static member One : BigInt
    static member Zero : BigInt
    static member internal hash : BigInt -> int
    static member ( + ) : BigInt * BigInt -> BigInt
    static member ( / ) : BigInt * BigInt -> BigInt
    static member ( = ) : BigInt * BigInt -> bool
    static member ( > ) : BigInt * BigInt -> bool
    static member ( >= ) : BigInt * BigInt -> bool
    static member ( < ) : BigInt * BigInt -> bool
    static member ( <= ) : BigInt * BigInt -> bool
    static member ( % ) : BigInt * BigInt -> BigInt
    static member ( * ) : BigInt * BigInt -> BigInt
    static member ( .. ) : BigInt * BigInt -> seq<BigInt>
    static member ( .. .. ) : BigInt * BigInt * BigInt -> seq<BigInt>
    static member ( - ) : BigInt * BigInt -> BigInt
    static member ( ~- ) : BigInt -> BigInt
    static member ( ~+ ) : BigInt -> BigInt
    static member internal powi : BigInt * int -> BigInt
  end

Instance Members

MemberDescription
override Equals : obj -> bool
override GetHashCode : unit -> int
override ToString : unit -> string

Static Members

MemberDescription
member ( % ) : BigInt * BigInt -> BigInt
Return the modulus of big integers
member ( * ) : BigInt * BigInt -> BigInt
Return the product of big integers
member ( + ) : BigInt * BigInt -> BigInt
Return the sum of two big integers
member ( - ) : BigInt * BigInt -> BigInt
Return the difference of big integers
member ( .. ) : BigInt * BigInt -> seq<BigInt>
Generate a range of big integers
member ( .. .. ) : BigInt * BigInt * BigInt -> seq<BigInt>
Generate a range of big integers, with a step
new : int64 -> BigInt
new : int -> BigInt
member ( / ) : BigInt * BigInt -> BigInt
Return the ratio of big integers
member ( < ) : BigInt * BigInt -> bool
This operator is for use from other .NET languages
member ( <= ) : BigInt * BigInt -> bool
This operator is for use from other .NET languages
member ( = ) : BigInt * BigInt -> bool
This operator is for use from other .NET languages
member ( > ) : BigInt * BigInt -> bool
This operator is for use from other .NET languages
member ( >= ) : BigInt * BigInt -> bool
This operator is for use from other .NET languages
member ( ~+ ) : BigInt -> BigInt
Return the given big integer
member ( ~- ) : BigInt -> BigInt
Return the negation of a big integer
member Abs : BigInt -> BigInt
Compute the absolute value of a big integer
member DivMod : BigInt * BigInt -> BigInt * BigInt
Compute the ratio and remainder of two big integers
member Factorial : BigInt -> BigInt
Compute the factorial function as a big integer
member GCD : BigInt * BigInt -> BigInt
Return the greatest common divisor of two big integers
member One : BigInt
Get the big integer for one
member Parse : string -> BigInt
Parse a big integer from a string format
member Pow : BigInt * BigInt -> BigInt
Return n^m for two big integers
member Sign : BigInt -> int
Return the sign of a big integer: 0, +1 or -1
member ToDouble : BigInt -> float
Convert a big integer to a floating point number
member ToInt32 : BigInt -> int32
Convert a big integer to a 32-bit signed integer
member ToInt64 : BigInt -> int64
Convert a big integer to a 64-bit signed integer
member Zero : BigInt
Get the big integer for zero

See Also

Microsoft.FSharp.Math


Documentation for assembly FSharp.Core, version 1.9.6.0, generated using F# Programming Language version 1.9.6.0