of

fun of(val: Long): BigInteger

Returns a BigInteger whose value is equal to that of the specified long.

Return

a BigInteger with the specified value.

Parameters

val

value of the BigInteger to return.

fun of(value: Int): BigInteger
fun of(value: String): BigInteger
fun of(value: String, radix: Int): BigInteger
fun of(val: IntArray): BigInteger

Returns a BigInteger with the given two's complement representation. Assumes that the input array will not be modified (the returned BigInteger will reference the input array if feasible).