Crate spl_math

Source
Expand description

Math operations using unsigned integers

Modules§

approximations
Approximation calculations
checked_ceil_div
Defines performing checked ceiling division for different types
error
Error types
instruction
Program instructions, used for end-to-end testing and instruction counts
precise_number
Defines PreciseNumber, a U256 wrapper with float-like operations
processor
Program state processor
uint
Large uint types

Constants§

ID
The const program ID.

Functions§

check_id
Returns true if given pubkey is the program ID.
id
Returns the program ID.