scala.math

BigInt

object BigInt extends AnyRef

go to: companion
source: BigInt.scala
    version
  1. 1.0, 15/07/2003

    since
  1. 2.1

    authors:
  1. Martin Odersky

Inherited
  1. Hide All
  2. Show all
  1. AnyRef
  2. Any
Visibility
  1. Public
  2. All

Value Members

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

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. val MaxLong: BigInt

  9. val MinLong: BigInt

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

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

  11. def apply(x: String): BigInt

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

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

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

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

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

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

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

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

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

  16. def apply(l: Long): BigInt

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

  17. def apply(i: Int): BigInt

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

  18. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  19. def clone(): AnyRef

    This method creates and returns a copy of the receiver object.

  20. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  21. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  22. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  23. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  24. def hashCode(): Int

    Returns a hash code value for the object.

  25. implicit def int2bigInt(i: Int): BigInt

    Implicit conversion from int to BigInt.

  26. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

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

    Implicit conversion from long to BigInt

  28. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  29. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  30. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  31. def probablePrime(bitLength: Int, rnd: Random): BigInt

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

  32. def synchronized[T0](arg0: T0): T0

  33. def toString(): String

    Returns a string representation of the object.

  34. def wait(): Unit

  35. def wait(arg0: Long, arg1: Int): Unit

  36. def wait(arg0: Long): Unit