def with_sign

bend-collections@1.0.0.0 · src/math/f64.bend:910

import bend-collections@1.0.0.0/src/math/f64.bend as F64
import Base
import bend-collections@1.0.0.0/src/math/u64.bend as W
import bend-collections@1.0.0.0/src/math/w64.bend as X

910def with_sign(+s: Bool, +w: W.U64) -> F64:
911  Bits{X.lo(w), U32.add(X.hi(w), sgn(s))}

Uses (7)

Used by (1)