Skip to content

Fix default alignment for inf/nan - #4897

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

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
@vitaut

vitaut commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR but this has already been fixed by #4895.

@vitaut vitaut closed this Aug 27, 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.

inf and nan are left-aligned with a bare width

2 participants