Method in arith · Saturating coil-stdlib

Saturating::saturating_mul

fn saturating_mul(S a, S b) -> S
Import
use arith::{Saturating};
Source: src/arith.hy

a * b clamped to the type’s range.

Parameters#

NameType
aS
bS

Returns#

S

See also#

↑ ↓ navigate ↵ open