def run.snap

gralha-coverage@0.1.0.1 · cover.bend:417

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

417# Sums of a weight's multiples cancel exactly for power-of-two sub counts and
418# to within rounding otherwise; noise below a millionth reads as empty.
419def run.snap(+v: F32) -> F32:
420  U.choose(F32, F32.is_lt(F32.abs(v), 0.000001), 0.0, v)

Uses (4)

Used by (2)