Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f706066e1e24e20a84f82374480a7b33e1de2d10
https://github.com/WebKit/WebKit/commit/f706066e1e24e20a84f82374480a7b33e1de2d10
Author: Yijia Huang <[email protected]>
Date: 2024-03-20 (Wed, 20 Mar 2024)
Changed paths:
M Source/JavaScriptCore/runtime/JSBigInt.cpp
M Source/JavaScriptCore/runtime/JSBigInt.h
M Source/WTF/wtf/MathExtras.h
Log Message:
-----------
[JSC] Extend JSBigInt::compare and JSBigInt::compareToDouble for Int64 and
Int32
https://bugs.webkit.org/show_bug.cgi?id=271073
rdar://124706111
Reviewed by Keith Miller.
This patch extends JSBigInt::compare and JSBigInt::compareToDouble
for Int64 and Int32.
* Source/JavaScriptCore/runtime/JSBigInt.cpp:
(JSC::Int64BigIntImpl::Int64BigIntImpl):
(JSC::Int64BigIntImpl::isZero):
(JSC::Int64BigIntImpl::sign):
(JSC::Int64BigIntImpl::length):
(JSC::Int64BigIntImpl::digit):
(JSC::JSBigInt::compare):
(JSC::JSBigInt::compareToDouble):
* Source/JavaScriptCore/runtime/JSBigInt.h:
Canonical link: https://commits.webkit.org/276417@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes