-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
Fully Compatible
-
ALL
-
QE 2025-03-17
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When we call genericAbs with a NaN operand here, the result is -NaN. This is because NaN is a NumberDouble, when we compare operand >= 0 is true, so we return -operand (-NaN). As a solution, we can adjust the check to also return operand if it is a NaN: operand >= 0 || std::isnan(operand).