mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibJS/JIT: Add builtin for Math.pow()
This commit is contained in:
parent
94b634f029
commit
5e976d611e
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/awesomekling
Commit: 5e976d611e
Pull-request: https://github.com/SerenityOS/serenity/pull/22041
Reviewed-by: https://github.com/skyrising
4 changed files with 25 additions and 4 deletions
|
@ -15,6 +15,7 @@ namespace JS::Bytecode {
|
|||
#define JS_ENUMERATE_BUILTINS(O) \
|
||||
O(MathAbs, math_abs, Math, abs, 1) \
|
||||
O(MathLog, math_log, Math, log, 1) \
|
||||
O(MathPow, math_pow, Math, pow, 2) \
|
||||
O(MathSqrt, math_sqrt, Math, sqrt, 1)
|
||||
|
||||
enum class Builtin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue