Package 0x23ec…39f5
math_u128
- Move path
- 0x23ec…39f5::math_u128
- Functions
- 1111 public, 0 entry
- Structs
- 0
- Friend modules
- None
math_u128
Functions11
- public fun add(u128, u128): u128
- public fun div_floor(u128, u128): u128
- public fun full_mul(u128, u128): u256
- public fun mul(u128, u128): u128
- public fun mul_div_ceil(u128,u128,u128): u128
- public fun mul_div_floor(u128,u128,u128): u128
- public fun overflowing_add(u128, u128): (u128, bool)
- public fun overflowing_mul(u128, u128): (u128, bool)
- public fun overflowing_sub(u128, u128): (u128, bool)
- public fun split_mul(u128, u128): (u128, u128)
- public fun sub(u128, u128): u128
Structs0
This module defines no structs
Constants3
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 100 | u64 | Abort code | addsubmul |
| 1 | 340282366920938463463374607431768211455 | u128 | Value | overflowing_addoverflowing_sub |
| 2 | 340282366920938463463374607431768211455 | u256 | Value | overflowing_add |