Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / java.math.BigInteger
Go to reference

Extensions for java.math.BigInteger

and

Same as and, but accepts Attribute and returns a new Attribute.

infix fun BigInteger.and(other: Attribute<BigInteger>): Attribute<BigInteger>

andNot

Same as andNot, but accepts Attribute and returns a new Attribute.

fun BigInteger.andNot(val: Attribute<BigInteger>): Attribute<BigInteger>

clearBit

Same as clearBit, but accepts Attribute and returns a new Attribute.

fun BigInteger.clearBit(n: Attribute<Int>): Attribute<BigInteger>

div

Same as div, but accepts Attribute and returns a new Attribute.

operator fun BigInteger.div(other: Attribute<BigInteger>): Attribute<BigInteger>

flipBit

Same as flipBit, but accepts Attribute and returns a new Attribute.

fun BigInteger.flipBit(n: Attribute<Int>): Attribute<BigInteger>

gcd

Same as gcd, but accepts Attribute and returns a new Attribute.

fun BigInteger.gcd(val: Attribute<BigInteger>): Attribute<BigInteger>

isProbablePrime

Same as isProbablePrime, but accepts Attribute and returns a new Attribute.

fun BigInteger.isProbablePrime(certainty: Attribute<Int>): Attribute<Boolean>

minus

Same as minus, but accepts Attribute and returns a new Attribute.

operator fun BigInteger.minus(other: Attribute<BigInteger>): Attribute<BigInteger>

modInverse

Same as modInverse, but accepts Attribute and returns a new Attribute.

fun BigInteger.modInverse(m: Attribute<BigInteger>): Attribute<BigInteger>

modPow

Same as modPow, but accepts Attribute and returns a new Attribute.

fun BigInteger.modPow(exponent: Attribute<BigInteger>, m: Attribute<BigInteger>): Attribute<BigInteger>
fun BigInteger.modPow(exponent: Attribute<BigInteger>, m: BigInteger): Attribute<BigInteger>
fun BigInteger.modPow(exponent: BigInteger, m: Attribute<BigInteger>): Attribute<BigInteger>

or

Same as or, but accepts Attribute and returns a new Attribute.

infix fun BigInteger.or(other: Attribute<BigInteger>): Attribute<BigInteger>

plus

Same as plus, but accepts Attribute and returns a new Attribute.

operator fun BigInteger.plus(other: Attribute<BigInteger>): Attribute<BigInteger>

pow

Same as pow, but accepts Attribute and returns a new Attribute.

fun BigInteger.pow(exponent: Attribute<Int>): Attribute<BigInteger>

rem

Same as rem, but accepts Attribute and returns a new Attribute.

operator fun BigInteger.rem(other: Attribute<BigInteger>): Attribute<BigInteger>

setBit

Same as setBit, but accepts Attribute and returns a new Attribute.

fun BigInteger.setBit(n: Attribute<Int>): Attribute<BigInteger>

shl

Same as shl, but accepts Attribute and returns a new Attribute.

infix fun BigInteger.shl(n: Attribute<Int>): Attribute<BigInteger>

shr

Same as shr, but accepts Attribute and returns a new Attribute.

infix fun BigInteger.shr(n: Attribute<Int>): Attribute<BigInteger>

testBit

Same as testBit, but accepts Attribute and returns a new Attribute.

fun BigInteger.testBit(n: Attribute<Int>): Attribute<Boolean>

times

Same as times, but accepts Attribute and returns a new Attribute.

operator fun BigInteger.times(other: Attribute<BigInteger>): Attribute<BigInteger>

toBigDecimal

Same as toBigDecimal, but accepts Attribute and returns a new Attribute.

fun BigInteger.toBigDecimal(scale: Attribute<Int>, mathContext: Attribute<MathContext> = com.femastudios.dataflow.async.util.attributeOf(java.math.MathContext.UNLIMITED)): Attribute<BigDecimal>
fun BigInteger.toBigDecimal(scale: Attribute<Int>, mathContext: MathContext = java.math.MathContext.UNLIMITED): Attribute<BigDecimal>
fun BigInteger.toBigDecimal(scale: Int = 0, mathContext: Attribute<MathContext>): Attribute<BigDecimal>

toString

Same as toString, but accepts Attribute and returns a new Attribute.

fun BigInteger.toString(radix: Attribute<Int>): Attribute<String>

xor

Same as xor, but accepts Attribute and returns a new Attribute.

infix fun BigInteger.xor(other: Attribute<BigInteger>): Attribute<BigInteger>