def fmin_select

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

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

37def fmin_select(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +a: T, +b: T) -> SG.FMin.select(~T, ~op, ~test, a, b):
38  pick_eq(T, test(N.Lt{b, a}), b, a)

Uses (5)

Used by (2)