def neg
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import 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)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64close:D
- bend-collections-laws-math@1.0.0.0/spec/math/f64:isclose
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addv:sub_value
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:neg_g
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64close:icd
- …