Method in arith · Checked coil-stdlib

Checked::checked_div

fn checked_div(S a, S b) -> Option<S>
Import
use arith::{Checked};
Source: src/arith.hy

a / b, or None when b is zero or the quotient does not fit.

Parameters#

NameType
aS
bS

Returns#

Option<S>

See also#

↑ ↓ navigate ↵ open