math
Module0x3466…98bb
- Move path
- 0xce7f…4db2::math
- Functions
- 55 public, 0 entry
- Structs
- 0
- Friend modules
- None
math
Functions5
- public fun checked_mul(u256, u256): u256
- public fun is_safe_mul(u256, u256): bool
- public fun mul_div(u64,u64,u64): u64
- public fun mul_div_u128(u64,u64,u64): u64
- public fun mul_factor_u256(u256,u256,u256): u256
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 | 115792089237316195423570985008687907853269984665640564039457584007913129639935 | u256 | Value | is_safe_mul |
| 1 | 0 | u64 | Abort code | mul_divmul_div_u128mul_factor_u256 |
| 2 | 1 | u64 | Abort code | checked_mul |