Method in arith · Overflowing coil-stdlib

Overflowing::overflowing_neg

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

The wrapped -a, and whether it wrapped.

Parameters#

NameType
aS

Returns#

(S, bool)

See also#

↑ ↓ navigate ↵ open