busybox/shell/hush_test/hush-arith
Denys Vlasenko c1c267fd36 shell/math: bash-compatible handling of too large numbers
function                                             old     new   delta
parse_with_base                                        -     170    +170
evaluate_string                                     1477    1309    -168
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 170/-168)            Total: 2 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2023-06-25 17:42:05 +02:00
..
arith-assign-in-varexp.right shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-assign-in-varexp.tests shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-assign-in-varexp1.right shell/math: fix order of expansion of variables to numbers 2023-06-15 13:56:12 +02:00
arith-assign-in-varexp1.tests shell/math: fix order of expansion of variables to numbers 2023-06-15 13:56:12 +02:00
arith-bignum1.right shell/math: bash-compatible handling of too large numbers 2023-06-25 17:42:05 +02:00
arith-bignum1.tests shell/math: bash-compatible handling of too large numbers 2023-06-25 17:42:05 +02:00
arith-comma1.right shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-comma1.tests shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-postinc.right shell: fix parsing of $(( (v)++ + NUM )) 2021-09-26 13:29:25 +02:00
arith-postinc.tests shell: fix parsing of $(( (v)++ + NUM )) 2021-09-26 13:29:25 +02:00
arith-precedence1.right shell/math: fix parsing of ?: and explain why it's parsed that way 2023-06-15 10:14:43 +02:00
arith-precedence1.tests shell/math: fix parsing of ?: and explain why it's parsed that way 2023-06-15 10:14:43 +02:00
arith-ternary-assign.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary-assign.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary-comma.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary-comma.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary-preincr.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary-preincr.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary1.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary1.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary2.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary2.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary3.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary3.tests shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary_nested.right shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-ternary_nested.tests shell/math: fix the order of variable resolution in binops 2023-06-14 11:33:59 +02:00
arith-ternary_nested1.right shell/math: fix parsing of ?: and explain why it's parsed that way 2023-06-15 10:14:43 +02:00
arith-ternary_nested1.tests shell/math: fix parsing of ?: and explain why it's parsed that way 2023-06-15 10:14:43 +02:00
arith-ternary_nested2.right shell/math: remove special code to handle a?b?c:d:e, it works without it now 2023-06-15 11:22:13 +02:00
arith-ternary_nested2.tests shell/math: remove special code to handle a?b?c:d:e, it works without it now 2023-06-15 11:22:13 +02:00
arith-ternary_nested3.right shell/math: fix ?: to not evaluate not-taken branches 2023-06-16 19:51:01 +02:00
arith-ternary_nested3.tests shell: typo fix in tests 2023-06-18 18:49:00 +02:00
arith.right shell/math: bash-compatible handling of too large numbers 2023-06-25 17:42:05 +02:00
arith.tests shell/math: bash-compatible handling of too large numbers 2023-06-25 17:42:05 +02:00
arith1.sub shell: fix arithmentic evaluation of "++7" and such (it is + + 7, i.e. 7) 2021-09-25 22:04:45 +02:00
arith2.sub shell: enable more tests which are passing now 2021-09-25 22:35:17 +02:00
arith_nested1.right ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00
arith_nested1.tests ash: parser: Add syntax stack for recursive parsing 2018-04-02 13:15:37 +02:00