def mag
import bend-lawful-stdlib@0.1.0.0/src/float/f32.bend as F32import Base
81# the 31 bits below the sign: exponent and fraction
82def mag(x: F32) -> Word(31n):
83 match x:
84 case F32{w}:
85 first(split(31n, w))
import bend-lawful-stdlib@0.1.0.0/src/float/f32.bend as F32import Base
81# the 31 bits below the sign: exponent and fraction
82def mag(x: F32) -> Word(31n):
83 match x:
84 case F32{w}:
85 first(split(31n, w))