haskell / haskell/bytestring

Faster Printing for Known Normal and Subnormal IEEE754 Floating Point Values

Open
#647 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
301
Forks
144
Avg merge
7d 22h
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.