Expand description
NotAssign
, a trait for replacing a number with its bitwise negation.
not_assign
use malachite_base::num::logic::traits::NotAssign;
let mut x = 123u16;
x.not_assign();
assert_eq!(x, 65412);
NotAssign
, a trait for replacing a number with its bitwise negation.
use malachite_base::num::logic::traits::NotAssign;
let mut x = 123u16;
x.not_assign();
assert_eq!(x, 65412);