Skip to content

Conversation

@drinkcat
Copy link
Collaborator

@drinkcat drinkcat commented Aug 5, 2025

While I think precision=4 is enough to print f16 unambiguously, being consistent with GNU implementation does not hurt.

Also, change width to 16 for f32 as well.

Fixes #8370.

@github-actions
Copy link

github-actions bot commented Aug 5, 2025

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/tee (passes in this run but fails in the 'main' branch)

While I think precision=4 is enough to print f16 unambiguously,
being consistent with GNU implementation does not hurt.

Also, change width to 16 for f32 as well.

Fixes uutils#8370.
@github-actions
Copy link

github-actions bot commented Aug 6, 2025

GNU testsuite comparison:

Skip an intermittent issue tests/misc/tee (fails in this run but passes in the 'main' branch)

@cakebaker cakebaker merged commit 72a3ed4 into uutils:main Aug 6, 2025
90 checks passed
@cakebaker
Copy link
Contributor

Thanks!

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.

od: 16-bit floats sometimes have wrong formatting

2 participants