-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
P2Priority: MediumPriority: MediumbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Value a(Value::SpecialValue::NaN);
Value b(Value::SpecialValue::NaN);
bool eq = (a == b); // false
Expected behavior:
bool eq = (a == b); // true
Value::operator==()
should return true if the types are the same if both are special types (infinity, negative infinity or NaN).
Special types are negative numbers when converted to integers (see the Type
enum).
Metadata
Metadata
Assignees
Labels
P2Priority: MediumPriority: MediumbugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers