Method in arith · Overflowing coil-stdlib

Overflowing::overflowing_add

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

The wrapped a + b, and whether it wrapped.

Parameters#

NameType
aS
bS

Returns#

(S, bool)

See also#

↑ ↓ navigate ↵ open