Class

sigmastate.eval

CBigInt

Related Doc: package eval

Permalink

case class CBigInt(wrappedValue: BigInteger) extends TestBigInt with WrapperOf[BigInteger] with Product with Serializable

A default implementation of BigInt interface.

See also

BigInt for detailed descriptions

Linear Supertypes
Serializable, Serializable, Product, Equals, WrapperOf[BigInteger], TestBigInt, BigInt, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CBigInt
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. WrapperOf
  7. TestBigInt
  8. BigInt
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CBigInt(wrappedValue: BigInteger)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def %(m: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  4. def &(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  5. def *(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  6. def +(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  7. def -(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  8. def /(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def add(that: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this + that).

    Returns a BigInt whose value is (this + that).

    that

    value to be added to this BigInt.

    returns

    { @code this + that}

    Definition Classes
    TestBigIntBigInt
  11. def and(that: BigInt): BigInt

    Permalink

    Returns a BigInteger whose value is (this & that).

    Returns a BigInteger whose value is (this & that). (This method returns a negative BigInteger if and only if this and that are both negative.)

    that

    value to be AND'ed with this BigInteger.

    returns

    this & that

    Definition Classes
    TestBigIntBigInt
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def compareTo(that: BigInt): Int

    Permalink

    Compares this numeric with that numeric for order.

    Compares this numeric with that numeric for order. Returns a negative integer, zero, or a positive integer as the this is less than, equal to, or greater than that.

    Definition Classes
    TestBigIntBigInt
  15. def divide(that: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this / that).

    Returns a BigInt whose value is (this / that).

    that

    value by which this BigInt is to be divided.

    returns

    { @code this / that}

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if { @code that} is zero.

  16. val dsl: CostingSigmaDslBuilder.type

    Permalink
    Definition Classes
    CBigIntTestBigInt
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. def inverseModQ: BigInt

    Permalink

    Multiply this number with other by module Q.

    Multiply this number with other by module Q.

    Definition Classes
    TestBigIntBigInt
    Since

    Mainnet

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def max(that: BigInt): BigInt

    Permalink

    Returns the maximum of this BigInteger and val.

    Returns the maximum of this BigInteger and val.

    that

    value with which the maximum is to be computed.

    returns

    the BigInteger whose value is the greater of this and { @code val}. If they are equal, either may be returned.

    Definition Classes
    TestBigIntBigInt
  23. def min(that: BigInt): BigInt

    Permalink

    Returns the minimum of this BigInteger and val.

    Returns the minimum of this BigInteger and val.

    that

    value with which the minimum is to be computed.

    returns

    the BigInteger whose value is the lesser of this BigInteger and { @code val}. If they are equal, either may be returned.

    Definition Classes
    TestBigIntBigInt
  24. def minusModQ(other: BigInt): BigInt

    Permalink

    Subtracts this number with other by module Q.

    Subtracts this number with other by module Q.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  25. def mod(m: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this mod m).

    Returns a BigInt whose value is (this mod m). This method differs from remainder in that it always returns a non-negative BigInteger.

    m

    the modulus.

    returns

    { @code this mod m}

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException { @code m} ≤ 0

    See also

    #remainder

  26. 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.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  27. def multModQ(other: BigInt): BigInt

    Permalink

    Multiply this number with other by module Q.

    Multiply this number with other by module Q.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  28. def multiply(that: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this * that).

    Returns a BigInt whose value is (this * that).

    that

    value to be multiplied by this BigInt.

    returns

    { @code this * that}

    Definition Classes
    TestBigIntBigInt
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def negate(): BigInt

    Permalink

    Returns a BigInt whose value is (-this).

    Returns a BigInt whose value is (-this).

    returns

    { @code -this}

    Definition Classes
    TestBigIntBigInt
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def or(that: BigInt): BigInt

    Permalink

    Returns a BigInteger whose value is (this | that).

    Returns a BigInteger whose value is (this | that). (This method returns a negative BigInteger if and only if either this or that is negative.)

    that

    value to be OR'ed with this BigInteger.

    returns

    this | that

    Definition Classes
    TestBigIntBigInt
  34. def plusModQ(other: BigInt): BigInt

    Permalink

    Adds this number with other by module Q.

    Adds this number with other by module Q.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  35. def remainder(that: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this % that).

    Returns a BigInt whose value is (this % that).

    that

    value by which this BigInt is to be divided, and the remainder computed.

    returns

    { @code this % that}

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if { @code that} is zero.

  36. def signum: Int

    Permalink

    Returns the signum function of this BigInt.

    Returns the signum function of this BigInt.

    returns

    -1, 0 or 1 as the value of this BigInt is negative, zero or positive.

    Definition Classes
    TestBigIntBigInt
  37. def subtract(that: BigInt): BigInt

    Permalink

    Returns a BigInt whose value is (this - that).

    Returns a BigInt whose value is (this - that).

    that

    value to be subtracted from this BigInt.

    returns

    { @code this - that}

    Definition Classes
    TestBigIntBigInt
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  39. def toAbs: BigInt

    Permalink

    Absolute value of this numeric value.

    Absolute value of this numeric value.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  40. def toBits: Coll[Boolean]

    Permalink

    Returns a big-endian representation of this BigInt in a collection of Booleans.

    Returns a big-endian representation of this BigInt in a collection of Booleans. Each boolean corresponds to one bit of the representation.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  41. def toByte: Byte

    Permalink

    Convert this BigInt value to Byte.

    Convert this BigInt value to Byte.

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if overflow happens.

  42. def toBytes: Coll[Byte]

    Permalink

    Returns a big-endian representation of this BigInt in a collection of bytes.

    Returns a big-endian representation of this BigInt in a collection of bytes. For example, the value 0x1213141516171819 would yield the byte array {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19}.

    Definition Classes
    TestBigIntBigInt
    Since

    2.0

  43. def toInt: Int

    Permalink

    Convert this BigInt value to Int.

    Convert this BigInt value to Int.

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if overflow happens.

  44. def toLong: Long

    Permalink

    Convert this BigInt value to Int.

    Convert this BigInt value to Int.

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if overflow happens.

  45. def toShort: Short

    Permalink

    Convert this BigInt value to Short.

    Convert this BigInt value to Short.

    Definition Classes
    TestBigIntBigInt
    Exceptions thrown

    ArithmeticException if overflow happens.

  46. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. val wrappedValue: BigInteger

    Permalink

    The data value wrapped by this wrapper.

    The data value wrapped by this wrapper.

    Definition Classes
    CBigIntWrapperOf
  50. def |(that: BigInt): BigInt

    Permalink
    Definition Classes
    BigInt
    Annotations
    @Internal()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from WrapperOf[BigInteger]

Inherited from TestBigInt

Inherited from BigInt

Inherited from AnyRef

Inherited from Any

Ungrouped