solana-math 0.2.0

Checked arithmetic and conversion traits for Solana-oriented Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! `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.

pub mod error;
pub mod impls;

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