-
Attributes:
#[defines_primitive(#[u256])]
Return the larger of x
and y
Return the smaller of x
and y
Return the absolute value of x - y
Calculate x / y, but round up the result.
public fun divide_and_round_up(x: u256, y: u256): u256
Returns x * y / z with as little loss of precision as possible and avoid overflow
public fun multiple_and_divide(x: u256, y: u256, z: u256): u256
Return the value of a base raised to a power