Skip to content

Display of Float128 values #66

Open
@nhabedi

Description

@nhabedi

The following two inputs result in the same number, i.e. x === y:

x = parse(Float128,"1e-33")
y = parse(Float128,"1.00000000000000000000000000000000005e-33")

But they are displayed as 1.00000000000000000000000000000000005e-33. Shouldn't the policy be to choose the simpler form 1e-33 for display if both are correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions