Skip to content

Conversation

@sfreilich
Copy link
Collaborator

Found an example with fuzz-testing where this assertion failed with extremely small values. For example, the first assert failed with:

orgUp->t: -0x1.ffep-138 dstUp->t: 0x0p+0 isect.t: -0x1p-137

(values in hex float)

So that's with isect.t an extremely close-to-zero negative value, dstUp->t as exactly 0, but orgUp->t as just a hair smaller.

Found an example with fuzz-testing where this assertion failed with
extremely small values. For example, the first assert failed with:

`orgUp->t: -0x1.ffep-138 dstUp->t: 0x0p+0 isect.t: -0x1p-137`

(values in hex float)

So that's with `isect.t` an extremely close-to-zero negative value,
`dstUp->t` as exactly 0, but `orgUp->t` as just a hair smaller.
@sfreilich sfreilich requested a review from memononen October 7, 2025 18:45
@memononen memononen merged commit 0b98e91 into memononen:master Oct 7, 2025
1 check passed
@sfreilich sfreilich deleted the loosen-assert branch October 7, 2025 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants