F64.remainder: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/math/f64.bend as F64 Lines 1159-1161 of bend-collections@1.0.0.0/src/math/f64.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&start_line=1159&end_line=1161 import Base # IEEE remainder: x - n y for n = x / y rounded to nearest, ties to even def remainder(+x: F64, +y: F64) -> F64: rm_bad(x, y, Bool.or(Bool.or(unordered(x, y), is_inf(x)), is_zero(y))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&name=F64 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&name=is_inf https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&name=is_zero https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&name=rm_bad https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/f64.bend&name=unordered