Format.spec_mul: def of bend-lawful-stdlib@0.1.0.0 Import: import bend-lawful-stdlib@0.1.0.0/src/float/format.bend as Format Lines 228-238 of bend-lawful-stdlib@0.1.0.0/src/float/format.bend: https://jend.leeeet.dev/read.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&start_line=228&end_line=238 import Base # IEEE multiplication: the exact product, rounded def spec_mul(f: Format, a: Val, b: Val) -> Val: match a: case NaN{}: NaN{} case Inf{na}: mul.inf(na, b) case Z{na}: mul.zero(na, b) case Fin{na, ma, ea}: mul.fin(f, na, ma, ea, b) Uses (5): https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&name=Format https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&name=Val https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&name=mul.fin https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&name=mul.inf https://jend.leeeet.dev/definition.txt?path=bend-lawful-stdlib@0.1.0.0/src/float/format.bend&name=mul.zero