F32.mag: def of bend-lawful-stdlib@0.1.0.0 Import: import bend-lawful-stdlib@0.1.0.0/src/float/f32.bend as F32 Lines 81-85 of bend-lawful-stdlib@0.1.0.0/src/float/f32.bend: https://jend.leeeet.dev/read.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/f32.bend&start_line=81&end_line=85 import Base # the 31 bits below the sign: exponent and fraction def mag(x: F32) -> Word(31n): match x: case F32{w}: first(split(31n, w)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/f32.bend&name=first https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/f32.bend&name=split