# Stop the floor edge search only when no unread edge can tie · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/f16ef678a9b141f7e022ff686e5f68510cee53c1)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: f16ef678a9b141f7e022ff686e5f68510cee53c1

Requested commit: f16ef678a9b141f7e022ff686e5f68510cee53c1

Commit: f16ef678a9b141f7e022ff686e5f68510cee53c1

Tree: 34e964b78623ced4f7586f34fd6ca9ba3c19b283

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Stop the floor edge search only when no unread edge can tie

At 1e16 scale, rounding let an edge just beyond the rows read compute the
same distance as the one found, and reading every edge would have chosen
it. The search now stops only once the nearest edge is strictly nearer
than the unread rows, with room for rounding. A footprint too tall to
split into rows (coordinates near 1e308) reads every edge, as before,
instead of throwing. Both cases are now in svg_standable_point_test.

Found in review by Astra.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

- [be6b59525d3f1b53d4387ac8c404df811c89587c](https://git.cafe/dara/icarus/commit/be6b59525d3f1b53d4387ac8c404df811c89587c?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/f16ef678a9b141f7e022ff686e5f68510cee53c1?format=markdown)
