aboutsummaryrefslogtreecommitdiff
path: root/test/compress/numbers.js
AgeCommit message (Collapse)Author
2021-04-07parse octal literals correctly (#4843)Alex Lam S.L
2021-03-16parse out-of-range numerals correctly (#4781)Alex Lam S.L
2021-02-24support nullish coalescing operator (#4678)Alex Lam S.L
2021-01-24support BigInt literals (#4583)Alex Lam S.L
2021-01-12fix corner case in `unsafe_math` (#4543)Alex Lam S.L
fixes #4542
2020-11-21gate `galio` workaround (#4310)Alex Lam S.L
2020-09-22fix corner case in `evaluate` (#4143)Alex Lam S.L
fixes #4142
2020-09-22fix corner case in `evaluate` (#4138)Alex Lam S.L
fixes #4137
2020-09-04enhance `unsafe_math` (#4093)Alex Lam S.L
2020-01-28fix corner case in sign propagation (#3696)Alex Lam S.L
- migrate de-facto functionality to `evaluate` fixes #3695
2020-01-16fix corner case in `evaluate` (#3685)Alex Lam S.L
fixes #3684
2020-01-15fix corner case in `unsafe_math` (#3683)Alex Lam S.L
fixes #3682
2020-01-08fix corner case in `unsafe_math` (#3677)Alex Lam S.L
fixes #3676
2019-12-29fix corner case in `evaluate` (#3656)Alex Lam S.L
fixes #3655
2019-12-29fix corner case in `evaluate` (#3654)Alex Lam S.L
fixes #3653
2019-12-28enhance `evaluate` (#3649)Alex Lam S.L
2019-11-25enhance `unsafe_math` (#3603)Alex Lam S.L
2019-11-18fix corner case in `unsafe_math` (#3594)Alex Lam S.L
fixes #3593
2019-11-17refine precision limits on `unsafe_math` (#3589)Alex Lam S.L
2019-10-29fix corner case in `unsafe_math` (#3548)Alex Lam S.L
fixes #3547
2019-10-28fix corner case in `evaluate` (#3540)Alex Lam S.L
fixes #3539
2019-10-28fix & enhance `unsafe_math` (#3537)Alex Lam S.L
closes #3535 fixes #3536
2019-10-27fix corner cases in `unsafe_math` (#3532)Alex Lam S.L
fixes #3531
2019-10-27compress arithmetic expressions further (#3529)Alex Lam S.L
2018-04-28improve numeral compression (#3108)Alex Lam S.L
2017-04-01improve compression of undefined, NaN & Infinitiy (#1748)Alex Lam S.L
- migrate transformation logic from `OutputStream` to `Compressor` - always turn `undefined` into `void 0` (unless `unsafe`) - always keep `NaN` except when avoiding local variable redefinition - introduce `keep_infinity` to suppress `1/0` transform, except when avoiding local variable redefinition supersedes #1723 fixes #1730
2017-03-30remove paranthesis for `-(x*y)` (#1732)Alex Lam S.L
2017-03-28fix `is_number()` on `+=` (#1714)Alex Lam S.L
fixes #1710
2017-03-03compress numerical expressions (#1513)Alex Lam S.L
safe operations - `a === b` => `a == b` - `a + -b` => `a - b` - `-a + b` => `b - a` - `a+ +b` => `+b+a` associative operations (bit-wise operations are safe, otherwise `unsafe_math`) - `a + (b + c)` => `(a + b) + c` - `(n + 2) + 3` => `5 + n` - `(2 * n) * 3` => `6 * n` - `(a | 1) | (2 | d)` => `(3 | a) | b` fixes #412
2016-03-14Fix: Uglified Number.prototype functions on big numbersphilippsimon