Skip to content

BigInt.Abs

Name Mandatory Description Default Type
⬅️ Input Big integer represented as bytes. Bytes
Output ➡️ The resulting big integer with an absolute value, represented as bytes. Bytes

This shard computes the absolute value of a big integer.

Examples

1
2
1 | BigInt = expected
-1 | BigInt | BigInt.Abs | BigInt.Is(expected) | Assert.Is(true Break: true)