Skip to content

Allow multiple trailing zeros in floating point literals #14

Open
@fredrikekre

Description

Currently multiple trailing zeros are removed. These are sometimes used for alignment in e.g. literal arrays. Currently

 [
-    0.100 0.123
-    0.123 0.100
+    0.1 0.123
+    0.123 0.1
 ]

Perhaps this should be allowed, or atleast be disabled inside array literals?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions