Skip to content

Both float examples aren't WTF #8

Open
@FlorianUekermann

Description

@FlorianUekermann

Please remove both floating point examples. NaN == NaN and 0.1 + 0.2 == 0.3 should be false. Following IEEE 754 is the sane thing to do.
If you disagree with IEEE 754 that's a valid opinion, but not a JS issue.

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