def fsign_select

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/float.bend:72

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/float.bend as Float
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N

72def fsign_select(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +x: T) -> SG.FSign.select(~T, ~op, ~test, x):
73  sign_a(~T, ~op, ~test, x, test(N.Lt{op(N.ZeroOp{}), x}))

Uses (5)

Used by (2)