You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bcfb526
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Source/JavaScriptCore/API/tests/testapi.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -763,7 +763,7 @@ void TestAPI::testBigInt()
763
763
check(JSValueCompareDouble(context, bigint, number, exception) == kJSRelationConditionEqual, description, ", should kJSRelationConditionEqual to number"_s);
764
764
check(JSValueCompareDouble(context, bigint, number + 1, exception) == kJSRelationConditionLessThan, description, ", should kJSRelationConditionLessThan number + 1"_s);
765
765
check(JSValueCompareDouble(context, bigint, number - 1, exception) == kJSRelationConditionGreaterThan, description, ", should kJSRelationConditionGreaterThan number - 1"_s);
766
-
check(JSValueCompareDouble(context, bigint, JSC::pureNaN(), exception) == kJSRelationConditionUndefined, description, ", should equal to kJSRelationConditionUndefined"_s);
766
+
check(JSValueCompareDouble(context, bigint, JSC::PNaN, exception) == kJSRelationConditionUndefined, description, ", should equal to kJSRelationConditionUndefined"_s);
767
767
return bigint;
768
768
}, description);
769
769
}
@@ -787,7 +787,7 @@ void TestAPI::testBigInt()
787
787
}
788
788
789
789
{
790
-
double number = JSC::pureNaN();
790
+
double number = JSC::PNaN;
791
791
constchar* description = "checking JSValueMakeBigIntFromNumber with NaN";
0 commit comments