def neg

bend-collections-laws-math@1.0.0.0 · spec/math/f64.bend:207

import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64
import Base
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F

207# the double with the sign bit flipped (NaN included)
208def neg(+x: F.F64) -> F.F64:
209  encode(Bool.not(sign(x)), efield(x), frac(x))

Uses (6)

Used by (7)