Skip to content

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

@BebeSparkelSparkel

Description

@BebeSparkelSparkel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions