Expand description
Signed 256-bit integer operations.
Enums§
- Sign
- Represents the sign of a 256-bit signed integer value.
Constants§
- MAX_
POSITIVE_ VALUE - The maximum positive value for a 256-bit signed integer.
- MIN_
NEGATIVE_ VALUE - The minimum negative value for a 256-bit signed integer.
Functions§
- i256_
cmp - Compares two 256-bit signed integers.
- i256_
div - Performs signed division of two 256-bit integers.
- i256_
mod - Performs signed modulo of two 256-bit integers.
- i256_
sign - Determines the sign of a 256-bit signed integer.
- i256_
sign_ compl - Determines the sign of a 256-bit signed integer and converts it to its absolute value.
- two_
compl - Computes the two’s complement of a U256 value.
- two_
compl_ mut - Computes the two’s complement of a U256 value in place.