def LD

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64exp.bend:190

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64exp.bend as F64exp
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F

190def LD(+x: F.F64, +neg: Bool, +k: Nat) -> F.F64:
191  SF.round(SF.sign(x), SF.mant(x), SF.pick(Nat, neg, Nat.sub(SF.xexp(x), k), Nat.add(SF.xexp(x), k)))

Uses (10)

Used by (4)