Denys Vlasenko
|
cc9543fed1
shell/math: avoid $((3**999999999999999999)) to take years
|
1 rok pred |
Denys Vlasenko
|
045924ed7d
shell/math: do not accept $((36#@))
|
1 rok pred |
Denys Vlasenko
|
38f769ab4e
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
6a0ba67382
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
800207b90a
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
e619a25a55
shell/math: improve comments
|
1 rok pred |
Denys Vlasenko
|
5d8f8570c0
shell/math: rename TOK_NUM to TOK_VALUE, improve comments
|
1 rok pred |
Denys Vlasenko
|
c1c267fd36
shell/math: bash-compatible handling of too large numbers
|
1 rok pred |
Denys Vlasenko
|
019dd31150
shell/math: disable debug again
|
1 rok pred |
Denys Vlasenko
|
db0e886735
shell/math: $((1?)) has one-too-small opstack, fix this
|
1 rok pred |
Denys Vlasenko
|
a165098922
shell/math: fix comments about jammed-together num+num corner cases
|
1 rok pred |
Denys Vlasenko
|
79b90cbece
shell/math: add note on ERANGE
|
1 rok pred |
Denys Vlasenko
|
10cce8ae35
shell/math: explain why we use separate &end
|
1 rok pred |
Denys Vlasenko
|
7701b526a7
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
8309c9159f
shell/math: eliminate redundant endofname()
|
1 rok pred |
Denys Vlasenko
|
2d06c83b87
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
c72c5552ed
shell/math: decrease stack usage by not allocating copies of variable names
|
1 rok pred |
Denys Vlasenko
|
182e5a4d00
shell/math: decrease stack usage
|
1 rok pred |
Denys Vlasenko
|
822590f5e2
shell/math: eliminate some redundant stores on return code path
|
1 rok pred |
Denys Vlasenko
|
19a74a54de
shell/math: change ?: nesting code to not have 63 level nesting limitation
|
1 rok pred |
Denys Vlasenko
|
6221832bc1
shell/math.h: update comments, rearrange struct members for smaller code
|
1 rok pred |
Denys Vlasenko
|
d6f98f214b
shell/math: code shrink
|
1 rok pred |
Denys Vlasenko
|
550696d492
shell/math: tweka comments
|
1 rok pred |
Denys Vlasenko
|
e127985839
shell/math: fix ?: to not evaluate not-taken branches
|
1 rok pred |
Denys Vlasenko
|
f8263528cd
shell/math: simplify handling of unary plus
|
1 rok pred |
Denys Vlasenko
|
38f423cc9c
shell/math: explain the logic, small tweak to make code smaller
|
1 rok pred |
Denys Vlasenko
|
ea6dcbe283
shell/math: fix order of expansion of variables to numbers
|
1 rok pred |
Denys Vlasenko
|
61a4959251
shell/math: remove special code to handle a?b?c:d:e, it works without it now
|
1 rok pred |
Denys Vlasenko
|
5f56a03882
shell/math: fix parsing of ?: and explain why it's parsed that way
|
1 rok pred |
Denys Vlasenko
|
3829d8b675
shell/math: simpler insertion of "fake" last RPAREN
|
1 rok pred |