fixed_point32
Module0x0000…0001
- Move path
- 0x0000…0001::fixed_point32
- Functions
- 66 public, 0 entry
- Structs
- 1
- Friend modules
- None
fixed_point32
Functions6
- public fun create_from_rational(u64, u64): FixedPoint32
- public fun create_from_raw_value(u64): FixedPoint32
- public fun divide_u64(u64,FixedPoint32): u64
- public fun get_raw_value(FixedPoint32): u64
- public fun is_zero(FixedPoint32): bool
- public fun multiply_u64(u64,FixedPoint32): u64
Structs1
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- FixedPoint32copydropstore
value u64
Constants6
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 18446744073709551615 | u128 | Value | multiply_u64divide_u64create_from_rational |
| 1 | 65537 | u64 | Abort code | create_from_rational |
| 2 | 131074 | u64 | Abort code | divide_u64 |
| 3 | 131075 | u64 | Abort code | multiply_u64 |
| 4 | 65540 | u64 | Abort code | divide_u64 |
| 5 | 131077 | u64 | Abort code | create_from_rational |