Skip to main content

Crate solana_math

Crate solana_math 

Source
Expand description

solana-math provides checked arithmetic and conversion traits that return explicit errors instead of panicking.

Functionality is organized into trait implementations in impls and uses SafeMathError for overflow, underflow, and conversion failures.

Re-exports§

pub use error::*;
pub use impls::*;

Modules§

error
Error types for solana-math.
impls