diff options
Diffstat (limited to 'dc.c')
-rw-r--r-- | dc.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -8,14 +8,6 @@ | |||
8 | 8 | ||
9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ | 9 | /* Tiny RPN calculator, because "expr" didn't give me bitwise operations. */ |
10 | 10 | ||
11 | static const char dc_usage[] = "dc expression ...\n" | ||
12 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
13 | "\nThis is a Tiny RPN calculator that understands the\n" | ||
14 | "following operations: +, -, /, *, and, or, not, eor.\n" | ||
15 | "i.e. 'dc 2 2 add' -> 4, and 'dc 8 8 \\* 2 2 + /' -> 16\n" | ||
16 | #endif | ||
17 | ; | ||
18 | |||
19 | static double stack[100]; | 11 | static double stack[100]; |
20 | static unsigned int pointer; | 12 | static unsigned int pointer; |
21 | 13 | ||