aboutsummaryrefslogtreecommitdiff
path: root/test/compress/numbers.js
AgeCommit message (Expand)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)...fixes #4542Alex Lam S.L
2020-11-21gate `galio` workaround (#4310)Alex Lam S.L
2020-09-22fix corner case in `evaluate` (#4143)...fixes #4142Alex Lam S.L
2020-09-22fix corner case in `evaluate` (#4138)...fixes #4137Alex Lam S.L
2020-09-04enhance `unsafe_math` (#4093)Alex Lam S.L
2020-01-28fix corner case in sign propagation (#3696)...- migrate de-facto functionality to `evaluate` fixes #3695Alex Lam S.L
2020-01-16fix corner case in `evaluate` (#3685)...fixes #3684Alex Lam S.L
2020-01-15fix corner case in `unsafe_math` (#3683)...fixes #3682Alex Lam S.L
2020-01-08fix corner case in `unsafe_math` (#3677)...fixes #3676Alex Lam S.L
2019-12-29fix corner case in `evaluate` (#3656)...fixes #3655Alex Lam S.L
2019-12-29fix corner case in `evaluate` (#3654)...fixes #3653Alex Lam S.L
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)...fixes #3593Alex Lam S.L
2019-11-17refine precision limits on `unsafe_math` (#3589)Alex Lam S.L
2019-10-29fix corner case in `unsafe_math` (#3548)...fixes #3547Alex Lam S.L
2019-10-28fix corner case in `evaluate` (#3540)...fixes #3539Alex Lam S.L
2019-10-28fix & enhance `unsafe_math` (#3537)...closes #3535 fixes #3536Alex Lam S.L
2019-10-27fix corner cases in `unsafe_math` (#3532)...fixes #3531Alex Lam S.L
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)...- 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 #1730Alex Lam S.L
2017-03-30remove paranthesis for `-(x*y)` (#1732)Alex Lam S.L
2017-03-28fix `is_number()` on `+=` (#1714)...fixes #1710Alex Lam S.L
2017-03-03compress numerical expressions (#1513)...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 #412Alex Lam S.L
2016-03-14Fix: Uglified Number.prototype functions on big numbersphilippsimon