Module 0x1::u256
Function max
Return the larger of x
and y
Implementation
Function min
Return the smaller of x
and y
Implementation
Function diff
Return the absolute value of x - y
Implementation
Function divide_and_round_up
Calculate x / y, but round up the result.
public fun divide_and_round_up(x: u256, y: u256): u256
Implementation
Function pow
Return the value of a base raised to a power