mirror of
https://github.com/bellard/quickjs.git
synced 2025-05-12 11:06:10 +08:00
set_date_fields
to match the ECMA specification
- use `double` arithmetic where necessary to match the spec - use `volatile` to ensure correct order of evaluation and prevent FMA code generation - reject some border cases. - avoid undefined behavior in `double` -> `int64_t` conversions - improved tests/test_builtin.js `assert` function to compare values more reliably. - added some tests in `test_date()` - disable some of these tests on win32 and cygwin targets
The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Languages
C
93.9%
JavaScript
5.4%
Makefile
0.5%
Shell
0.2%