Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster Printing for Known Normal and Subnormal IEEE754 Floating Point Values #647

Open
BebeSparkelSparkel opened this issue Jan 22, 2024 · 0 comments

Comments

@BebeSparkelSparkel
Copy link
Contributor

In many cases it is known that a value is not a special value (NaN, Infinity) so faster printing can be obtained by skipping the special value checks.

I suggest adding the functions formatNormalFloat and formatNormalDouble to Data.ByteString.Builder.RealFloat.

Let me know if this is something you would consider. If so, I will create a PR.

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

No branches or pull requests

1 participant