Distance from a point to a line
Compute the perpendicular distance from a point to a line.
Authentic source intent (canonical geometric problem): given a point (x0, y0) and a line a*x + b*y + c = 0, return the perpendicular distance |a*x0 + b*y0 + c| / sqrt(a*a + b*b). Exact quotient semantics and stable numeric representation require a central output/ABI decision.
ABI/fixture mismatch (central blocker): the current immutable schema exposes only arg1: array<number> and current immutable fixtures do not encode explicit point and line parameters in that form. A meaningful geometric implementation cannot be verified against the current fixture/ABI without central schema, fixture, and comparison/quotient approval. Do not infer a geometric answer from fixture patterns or thresholds.
Distance from a point to a line
Compute the perpendicular distance from a point to a line.