def f32_clamp32

bend-collections-laws-crypto@1.0.0.0 · src/math/w64.bend:502

import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64
import Base

502def f32_clamp32(+f: F32, big: Bool) -> U32:
503  match big:
504    case True{}:
505      4294967295
506    case False{}:
507      F32.to_u32(f)

Uses (4)

Used by (1)