MathCheckedWord.multiply_right: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/math_checked_word.bend as MathCheckedWord Lines 34-39 of stelliferous@0.0.2.0/math_checked_word.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/math_checked_word.bend&start_line=34&end_line=39 import Base import stelliferous@0.0.2.0/machine_limits.bend as Machine # Unit products already fit a word. Shapes and contiguous strides frequently # use them; returning the operand avoids the 32-step natural Horner traversal. def multiply_right(unit: Bool,left: U32,right: U32) -> Maybe<&2,U32>: match unit: case True{}: Some{left} case False{}: multiply_bounded(left,right,Machine.word_max()) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/machine_limits.bend&name=word_max https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/math_checked_word.bend&name=multiply_bounded