sum-substitution-avoids-float-precision

Status: IN

`distinctAverages` compares sums instead of averages to determine distinctness, exploiting the fact that dividing by a constant preserves distinctness — this eliminates floating-point precision issues entirely.

Source: entries/2026/06/06/number-of-distinct-averages-solution.md

Depended on by

JSON