Util.denom: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/util.bend as Util Lines 207-210 of unified-nsga-iii@0.2.2.0/util.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/util.bend&start_line=207&end_line=210 import Base # C# Normalize: denom < 1e-12 → 1.0 (intercept span uses the same floor). def denom(+lo: F32, +hi: F32) -> F32: +span = F32.sub(hi, lo) f32_or_one(span, F32.is_lt(span, 1.0e-12)) 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=F32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.sub https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/util.bend&name=f32_or_one