Skip to content

chore: improve ryu maintenance path#64

Closed
vip892766gma wants to merge 1 commit into
dtolnay:masterfrom
vip892766gma:maint/20260525214750
Closed

chore: improve ryu maintenance path#64
vip892766gma wants to merge 1 commit into
dtolnay:masterfrom
vip892766gma:maint/20260525214750

Conversation

@vip892766gma
Copy link
Copy Markdown

Summary:

  • Add additional edge-case unit tests covering boundary float values — subnormal floats near f64::MIN_POSITIVE, the smallest positive subnormal, the largest finite f64, values just above/below powers of two, and round-trip parse-back assertions — to strengthen coverage of ryu's formatting on edge inputs without changing library behavior.
  • Keep the change narrow so it is straightforward to review.

Notes:

  • I kept this scoped to the relevant implementation and tests.

Copy link
Copy Markdown
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests are translated from the C++ library. If there are gaps, it needs to be sent upstream.

@dtolnay dtolnay closed this May 25, 2026
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