def fsign_select
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/float.bend as Floatimport 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}))