mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:08:10 +00:00
LibJS/JIT: Add builtin for Math.pow()
This commit is contained in:
parent
94b634f029
commit
5e976d611e
4 changed files with 25 additions and 4 deletions
|
@ -20,6 +20,7 @@ public:
|
|||
|
||||
static ThrowCompletionOr<Value> log_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> sqrt_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> pow_impl(VM&, Value base, Value exponent);
|
||||
|
||||
private:
|
||||
explicit MathObject(Realm&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue