On this page
Object scala.math.BigInt
   
    object BigInt
   
  | Supertypes | |
|---|---|
| Self type | 
Concrete methods
Source
Constructs a BigInt whose value is equal to that of the specified integer value.
| Value parameters | 
       
  | 
     
|---|---|
| Returns | the constructed   | 
     
Source
Constructs a BigInt whose value is equal to that of the specified long value.
| Value parameters | 
       
  | 
     
|---|---|
| Returns | the constructed   | 
     
Source
Translates a byte array containing the two's-complement binary representation of a BigInt into a BigInt.
Source
Translates the sign-magnitude representation of a BigInt into a BigInt.
| Value parameters | 
       
  | 
     
|---|
Source
Constructs a randomly generated positive BigInt that is probably prime, with the specified bitLength.
Source
Constructs a randomly generated BigInt, uniformly distributed over the range 0 to (2 ^ numBits - 1), inclusive. 
Source
Translates the decimal String representation of a BigInt into a BigInt.
Source
Translates the string representation of a BigInt in the specified radix into a BigInt.
Source
Translates a java.math.BigInteger into a BigInt.
Source
Returns a positive BigInt that is probably prime, with the specified bitLength.
Implicits
Source
Implicit conversion from Int to BigInt.
Source
Implicit conversion from java.math.BigInteger to scala.BigInt.
Source
Implicit conversion from Long to BigInt.
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
 https://scala-lang.org/api/3.1.1/scala/math/BigInt$.html