mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibJS/JIT: Add builtin for Math.sqrt()
This commit is contained in:
parent
1d8a601f96
commit
94b634f029
4 changed files with 26 additions and 5 deletions
|
@ -19,6 +19,7 @@ public:
|
|||
virtual ~MathObject() override = default;
|
||||
|
||||
static ThrowCompletionOr<Value> log_impl(VM&, Value);
|
||||
static ThrowCompletionOr<Value> sqrt_impl(VM&, Value);
|
||||
|
||||
private:
|
||||
explicit MathObject(Realm&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue