and

abstract fun and(other: BigInteger): BigInteger

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

Return

this & val

Parameters

other

value to be AND'ed with this BigInteger.


open fun and(other: Int): BigInteger
open fun and(other: Long): BigInteger