mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibJS: Implement Math.sumPrecise
This commit is contained in:
Notes:
github-actions[bot]
2025-03-03 20:47:18 +00:00
Author: https://github.com/aplefull Commit: https://github.com/LadybirdBrowser/ladybird/commit/80b2c11c81c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3776
@@ -26,6 +26,7 @@ public:
|
||||
static ThrowCompletionOr<Value> round_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> exp_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> abs_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> sum_precise_impl(VM&, Value);
|
||||
|
||||
private:
|
||||
explicit MathObject(Realm&);
|
||||
@@ -66,6 +67,7 @@ private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(sinh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(cosh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(tanh);
|
||||
JS_DECLARE_NATIVE_FUNCTION(sumPrecise);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user