Packages

c

scalan.util.Extensions

BigIntegerOps

implicit final class BigIntegerOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BigIntegerOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BigIntegerOps(x: BigInteger)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def minusModQ(other: BigInt): BigInt

    Subracts this number with other by module Q.

    Subracts this number with other by module Q.

    Since

    2.0

  8. def modQ: BigInt

    Returns this mod Q, i.e.

    Returns this mod Q, i.e. remainder of division by Q, where Q is an order of the cryprographic group.

    Since

    2.0

  9. def multInverseModQ: BigInt

    Multiply this number with other by module Q.

    Multiply this number with other by module Q.

    Since

    Mainnet

  10. def multModQ(other: BigInt): BigInt

    Multiply this number with other by module Q.

    Multiply this number with other by module Q.

    Since

    2.0

  11. def plusModQ(other: BigInt): BigInt

    Adds this number with other by module Q.

    Adds this number with other by module Q.

    Since

    2.0

  12. final def to256BitValueExact: BigInteger

    Checks this BigInteger can be cust to 256 bit two's-compliment representation, checking for lost information.

    Checks this BigInteger can be cust to 256 bit two's-compliment representation, checking for lost information. If the value of this BigInteger is out of the range of the 256 bits, then an ArithmeticException is thrown.

    returns

    this BigInteger if the check is successful

    Annotations
    @inline()
    Exceptions thrown

    ArithmeticException if the value of this will not exactly fit in a 256 bit range.

    See also

    BigInteger#longValueExact

  13. def toString(): String
    Definition Classes
    Any
  14. val x: BigInteger

Inherited from AnyVal

Inherited from Any

Ungrouped