mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibJS/JIT: Add builtin for Math.round()
This commit is contained in:
parent
c2ff238467
commit
8447544e17
4 changed files with 24 additions and 3 deletions
|
@ -18,6 +18,7 @@ namespace JS::Bytecode {
|
|||
O(MathPow, math_pow, Math, pow, 2) \
|
||||
O(MathCeil, math_ceil, Math, ceil, 1) \
|
||||
O(MathFloor, math_floor, Math, floor, 1) \
|
||||
O(MathRound, math_round, Math, round, 1) \
|
||||
O(MathSqrt, math_sqrt, Math, sqrt, 1)
|
||||
|
||||
enum class Builtin {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue