Skip to content

Use math.nextafter instead of struct#42

Merged
mdickinson merged 1 commit into
mainfrom
nextafter
Nov 2, 2025
Merged

Use math.nextafter instead of struct#42
mdickinson merged 1 commit into
mainfrom
nextafter

Conversation

@mdickinson
Copy link
Copy Markdown
Owner

This PR updates existing logic for determining nearby floats to use math.nextafter instead of struct. (math.nextafter was only added in Python 3.9, so this change was only possible after dropping Python 3.8 support.)

@mdickinson mdickinson merged commit 03ab8f7 into main Nov 2, 2025
7 checks passed
@mdickinson mdickinson deleted the nextafter branch November 2, 2025 12:16
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.

1 participant