Skip to content

BigInt.Abs

Name - Description Default Type
<input> Big integer represented as bytes. Bytes
<output> Big integer represented as bytes. Bytes

Computes the absolute value of a big integer.

Examples

1
2
3
4
5
1 (BigInt) = .expected

-1 (BigInt)
(BigInt.Abs)
(BigInt.Is .expected) (Assert.Is true true)