aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-07-29 04:00:27 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-07-29 04:00:27 +0200
commit7a07b0ee6a99a98ec1f144d5d06043fa0c03f451 (patch)
tree0978bd98b9fd690c71f2a8ca06f02e0b65039ce4 /include
parent416f0405cb03ecc816b829d5a3d357a556b95fcd (diff)
downloadbusybox-7a07b0ee6a99a98ec1f144d5d06043fa0c03f451.tar.gz
dc: make it use long longs for integer ops
function old new delta print_base 176 238 +62 or 91 103 +12 eor 91 103 +12 and 91 103 +12 not 60 64 +4 mod 103 105 +2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 6/0 up/down: 104/0) Total: 104 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.src.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index 9b326eebb..0053a7c4b 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -736,28 +736,6 @@ INSERT
"$ date\n" \
"Wed Apr 12 18:52:41 MDT 2000\n"
-#define dc_trivial_usage \
- "expression..."
-#define dc_full_usage "\n\n" \
- "Tiny RPN calculator. Operations:\n" \
- "+, add, -, sub, *, mul, /, div, %, mod, **, exp, and, or, not, eor,\n" \
- "p - print top of the stack (without altering the stack),\n" \
- "f - print entire stack, o - pop the value and set output radix\n" \
- "(value must be 10 or 16).\n" \
- "Examples: 'dc 2 2 add' -> 4, 'dc 8 8 * 2 2 + /' -> 16\n" \
-
-#define dc_example_usage \
- "$ dc 2 2 + p\n" \
- "4\n" \
- "$ dc 8 8 \\* 2 2 + / p\n" \
- "16\n" \
- "$ dc 0 1 and p\n" \
- "0\n" \
- "$ dc 0 1 or p\n" \
- "1\n" \
- "$ echo 72 9 div 8 mul p | dc\n" \
- "64\n"
-
#define dd_trivial_usage \
"[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \
" [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]")