Math operations that clamp at the numeric bounds rather than error or wrap.
Via soldeer:
forge soldeer install rain-math-saturating~<version>This repo uses nix for its dev shell. The
default shell is the slim sol-shell from
rainix — no rust, node, or chromium.
nix develop # enter the shell
forge soldeer install # install deps declared in foundry.toml
forge testUse the nix-pinned forge for all development.
DecentraLicense 1.0 (DCL-1.0) — full text in
LICENSES/.
This repo is REUSE 3.2 compliant.
Welcome under the same license. Contributors warrant that their contributions are compliant.