1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

LibJS/JIT: Add builtin for Math.ceil()

This commit is contained in:
Andreas Kling 2023-11-24 09:46:21 +01:00
parent 08590adf40
commit c2ff238467
Notes: sideshowbarker 2024-07-17 01:51:00 +09:00
4 changed files with 24 additions and 3 deletions

View file

@ -22,6 +22,7 @@ public:
static ThrowCompletionOr<Value> sqrt_impl(VM&, Value);
static ThrowCompletionOr<Value> pow_impl(VM&, Value base, Value exponent);
static ThrowCompletionOr<Value> floor_impl(VM&, Value);
static ThrowCompletionOr<Value> ceil_impl(VM&, Value);
private:
explicit MathObject(Realm&);