Skip to content

Comparison of zero with NaN is incorrect #198

@adazem009

Description

@adazem009
Value a = 0;
Value b(Value::SpecialValue::NaN);

bool eq = (a == b); // true

Expected behavior:

bool eq = (a == b); // false

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority: MediumbugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions