def tu_int
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
752def tu_int(+s: Bool, +w: W.U64) -> Result<&2, &2, N.NumError, W.U64>:
753 tu_neg(w, Bool.and(s, Bool.not(X.is_zero(w))))
Uses (8)
Used by (5)
- bend-collections-laws-math@1.0.0.0/src/math/f64:tu_big
- bend-collections-laws-math@1.0.0.0/src/math/f64:tu_fin
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64conv:tuint_v
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64conv:big_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64conv:small_nat