Linus Groh
|
b27834cf16
LibJS: Add Math.sign()
|
5 years ago |
Linus Groh
|
476094922b
LibJS: Pass Interpreter& to Value::to_number() et al.
|
5 years ago |
mattco98
|
23ec578a01
LibJS: Implement correct attributes for (almost) all properties
|
5 years ago |
Linus Groh
|
97366f4dd4
LibJS: Add Math.pow()
|
5 years ago |
Andreas Kling
|
fca08bd000
LibJS: Move builtin prototypes to the global object
|
5 years ago |
Andreas Kling
|
bc1ece7f37
LibJS+LibWeb: Pass prototype to Object constructor
|
5 years ago |
Andreas Kling
|
beda751d33
LibJS: Math.round() should call round() instead of roundf()
|
5 years ago |
Linus Groh
|
97de93eed1
LibJS: Add js_negative_infinity()
|
5 years ago |
Emanuele Torre
|
ba67fc68b8
LibJS: Rename variable "max" to "min" in MathObject::min() (#1665)
|
5 years ago |
Linus Groh
|
f5dacfbb5b
LibJS: Add Math.{cos,sin,tan}()
|
5 years ago |
Linus Groh
|
04a36b247b
LibJS: Simplify MathObject functions
|
5 years ago |
Andreas Kling
|
003741db1c
LibJS: Add Math.min()
|
5 years ago |
Linus Groh
|
9e7dcaa106
LibJS: Return -Infinity in Math.max() with no argument
|
5 years ago |
Linus Groh
|
2f775a925b
LibJS: Fix Math.SQRT1_2
|
5 years ago |
Brian Gianforcaro
|
240a5b5fd7
LibJS: Add support for Math.ceil() and Math.trunc()
|
5 years ago |
Brian Gianforcaro
|
4e54d0ff21
LibJS: Add support for arbitrary arguments to Math.max
|
5 years ago |
Andreas Kling
|
d84de532f1
LibJS: Add Math.max()
|
5 years ago |
Andreas Kling
|
16bd99aa52
LibJS: Add Math.round()
|
5 years ago |
Andreas Kling
|
afff228308
LibJS: Add Math.floor()
|
5 years ago |
Andreas Kling
|
9e05672f87
LibJS: Math.sqrt.length should be 1
|
5 years ago |
Andreas Kling
|
d4dfe7e525
LibJS: Add Math.sqrt()
|
5 years ago |
Linus Groh
|
cd3e2690eb
LibJS: Set length property in Object::put_native_function()
|
5 years ago |
Andreas Kling
|
cd1d369cdd
LibJS: Add argument(i) and argument_count() to Interpreter
|
5 years ago |
Linus Groh
|
03c3530d86
LibJS: Add constant properties to MathObject
|
5 years ago |
Linus Groh
|
bad0556a59
LibJS: Handle empty strings and arrays in Value::to_number()
|
5 years ago |
Andreas Kling
|
2d3634d5f5
LibJS: Implement Math.abs()
|
5 years ago |
Andreas Kling
|
56936b97d0
LibJS+LibWeb: Move native JS functions into dedicated member functions
|
5 years ago |
Andreas Kling
|
7c4e53f31e
LibJS: Rework how native functions are called to improve |this| value
|
5 years ago |
Andreas Kling
|
538537dfd0
LibJS: Use rand() for Math.random() on other systems
|
5 years ago |
Andreas Kling
|
cccbe43056
LibJS: Use FlyString for identifiers
|
5 years ago |