scala.math

BigInt

object BigInt extends Serializable

Source
BigInt.scala
Version

1.0, 15/07/2003

Since

2.1

Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BigInt
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def apply(x: BigInteger): BigInt

    Translates a java.math.BigInteger into a BigInt.

  7. def apply(x: String, radix: Int): BigInt

    Translates the string representation of a BigInt in the specified radix into a BigInt.

  8. def apply(x: String): BigInt

    Translates the decimal String representation of a BigInt into a BigInt.

  9. def apply(numbits: Int, rnd: Random): BigInt

    Constructs a randomly generated BigInt, uniformly distributed over the range 0 to (2 ^ numBits - 1), inclusive.

  10. def apply(bitlength: Int, certainty: Int, rnd: Random): BigInt

    Constructs a randomly generated positive BigInt that is probably prime, with the specified bitLength.

  11. def apply(signum: Int, magnitude: Array[Byte]): BigInt

    Translates the sign-magnitude representation of a BigInt into a BigInt.

  12. def apply(x: Array[Byte]): BigInt

    Translates a byte array containing the two's-complement binary representation of a BigInt into a BigInt.

  13. def apply(l: Long): BigInt

    Constructs a BigInt whose value is equal to that of the specified long value.

    Constructs a BigInt whose value is equal to that of the specified long value.

    l

    the specified long value

    returns

    the constructed BigInt

  14. def apply(i: Int): BigInt

    Constructs a BigInt whose value is equal to that of the specified integer value.

    Constructs a BigInt whose value is equal to that of the specified integer value.

    i

    the specified integer value

    returns

    the constructed BigInt

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. implicit def int2bigInt(i: Int): BigInt

    Implicit conversion from Int to BigInt.

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. implicit def javaBigInteger2bigInt(x: BigInteger): BigInt

    Implicit conversion from java.math.BigInteger to scala.BigInt.

  25. implicit def long2bigInt(l: Long): BigInt

    Implicit conversion from Long to BigInt.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def probablePrime(bitLength: Int, rnd: Random): BigInt

    Returns a positive BigInt that is probably prime, with the specified bitLength.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped