Class

scalan.util.Extensions

BigIntegerOps

Related Doc: package Extensions

Permalink

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)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. def minusModQ(other: BigInt): BigInt

    Permalink

    Subracts this number with other by module Q.

    Subracts this number with other by module Q.

    Since

    2.0

  8. def modQ: BigInt

    Permalink

    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

    Permalink

    Multiply this number with other by module Q.

    Multiply this number with other by module Q.

    Since

    Mainnet

  10. def multModQ(other: BigInt): BigInt

    Permalink

    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

    Permalink

    Adds this number with other by module Q.

    Adds this number with other by module Q.

    Since

    2.0

  12. final def to256BitValueExact: BigInteger

    Permalink

    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

    Permalink
    Definition Classes
    Any
  14. val x: BigInteger

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped