Trait ndarray_rand::rand_distr::num_traits::ops::checked::CheckedMul [−][src]
Performs multiplication that returns None
instead of wrapping around on underflow or
overflow.
Required methods
pub fn checked_mul(&self, v: &Self) -> Option<Self>
[src]
Multiplies two numbers, checking for underflow or overflow. If underflow
or overflow happens, None
is returned.