Idan Horowitz
|
23ea1f1a3e
LibJS: Convert MathObject functions to ThrowCompletionOr
|
vor 3 Jahren |
Idan Horowitz
|
40eb3a39d4
LibJS: Rename define_native_function => define_old_native_function
|
vor 3 Jahren |
Idan Horowitz
|
20163c0584
LibJS: Add ThrowCompletionOr versions of the JS native function macros
|
vor 3 Jahren |
Idan Horowitz
|
cc94bba5c0
LibJS: Convert to_u32() to ThrowCompletionOr
|
vor 3 Jahren |
Idan Horowitz
|
20d990563c
LibJS: Convert to_number() to ThrowCompletionOr
|
vor 3 Jahren |
Andreas Kling
|
eaf904000f
LibJS: Always use AK::get_random() in Math.random()
|
vor 3 Jahren |
Linus Groh
|
312946059b
LibJS+Spreadsheet: Use js_string(VM&, ...) overload more
|
vor 3 Jahren |
Daniel Bertalan
|
fd76e71934
LibJS: Fix UB in `Math.clz32`
|
vor 3 Jahren |
Idan Horowitz
|
a6b8291a9b
LibJS: Add define_direct_property and remove the define_property helper
|
vor 4 Jahren |
Idan Horowitz
|
a939ffc617
LibJS: Handle values close to -0.5 correctly in Math.round(x)
|
vor 4 Jahren |
Linus Groh
|
f4867572b7
LibJS: Change PropertyName(Symbol*) => PropertyName(Symbol&)
|
vor 4 Jahren |
Idan Horowitz
|
9127d83927
LibJS: Rename Value::{is_integer => is_integral_number}
|
vor 4 Jahren |
Andreas Kling
|
5eef07d232
LibJS: Avoid lots of string-to-int during global object construction
|
vor 4 Jahren |
Linus Groh
|
7327a28ccc
LibJS: Add ECMA-262 section/title/URL comments almost everywhere
|
vor 4 Jahren |
Idan Horowitz
|
e2fb7943f7
LibJS: Correctly handle NaN and negative infinity in Math.atan2
|
vor 4 Jahren |
Idan Horowitz
|
57a52094d1
LibJS: Rewrite Math.hypot to handle exceptions, NaNs, Infinity properly
|
vor 4 Jahren |
Idan Horowitz
|
03255c1c53
LibJS: Handle NaN/Infinity/Zero edge cases in Math.pow()
|
vor 4 Jahren |
Idan Horowitz
|
7507999230
LibJS: Rewrite Math.{max, min} to handle exceptions and NaNs properly
|
vor 4 Jahren |
Idan Horowitz
|
24ffe91b16
LibJS: Handle negative zero and negative infinity in Math.abs()
|
vor 4 Jahren |
Idan Horowitz
|
9d2e90d569
LibJS: Add Math.imul()
|
vor 4 Jahren |
Jean-Baptiste Boric
|
090936e424
Userland: Replace arc4random() with get_random<u32>()
|
vor 4 Jahren |
Linus Groh
|
0053816e9d
LibJS: Correctly handle mixing +0 and -0 in Math.{min,max}()
|
vor 4 Jahren |
Linus Groh
|
ebdeed087c
Everywhere: Use linusg@serenityos.org for my copyright headers
|
vor 4 Jahren |
Brian Gianforcaro
|
1682f0b760
Everything: Move to SPDX license identifiers in all files.
|
vor 4 Jahren |
Andreas Kling
|
635a5eec75
LibJS: Remove a whole bunch of unnecessary #includes
|
vor 4 Jahren |
Andreas Kling
|
16a0e7a66d
LibJS: Improve correctness of rounding and bitwise operations
|
vor 4 Jahren |
Andreas Kling
|
13d7c09125
Libraries: Move to Userland/Libraries/
|
vor 4 Jahren |