Skip to content

Fix default alignment for inf/nan - #4897

Open
TheRodzz wants to merge 1 commit into
fmtlib:mainfrom
TheRodzz:fix-nonfinite-alignment
Open

Fix default alignment for inf/nan#4897
TheRodzz wants to merge 1 commit into
fmtlib:mainfrom
TheRodzz:fix-nonfinite-alignment

Conversation

@TheRodzz

Copy link
Copy Markdown

Fixes #4894

As per #4894, inf and nan are left-aligned with a bare width, while finite values are right-aligned. This PR fixes the default alignment for nonfinite values to be right-aligned.

@TheRodzz
TheRodzz requested a review from vitaut as a code owner August 25, 2026 03:44
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.

inf and nan are left-aligned with a bare width

1 participant