Unified · Split
| @@ -3,9 +3,6 @@ · 2 unmodified lines | |||
| 3 | pc \- programmer's calculator | 3 | pc \- programmer's calculator |
| 4 | .SH SYNOPSIS | 4 | .SH SYNOPSIS |
| 5 | .B pc | 5 | .B pc |
| 6 | [ | ||
| 7 | .B -n | ||
| 8 | ] | ||
| 9 | .SH DESCRIPTION | 6 | .SH DESCRIPTION |
| 10 | .I Pc | 7 | .I Pc |
| 11 | is an arbitrary precision integer calculator with a special emphasis on supporting two's complement bit operations and working with different number bases. | 8 | is an arbitrary precision integer calculator with a special emphasis on supporting two's complement bit operations and working with different number bases. |
| @@ -16,11 +13,6 @@ Multiple statements in one line can be separated by semicolons. · 4 unmodified lines | |||
| 16 | .I Pc | 13 | .I Pc |
| 17 | prints the value of all expressions that are not terminated by a semicolon. | 14 | prints the value of all expressions that are not terminated by a semicolon. |
| 18 | .PP | 15 | .PP |
| 19 | .I Pc | ||
| 20 | can be run non-interactively by using the | ||
| 21 | .B -n | ||
| 22 | switch. In this case no input prompt is printed. | ||
| 23 | .PP | ||
| 24 | Expressions can use the C-like operators | 16 | Expressions can use the C-like operators |
| 25 | .TP | 17 | .TP |
| 26 | .B + - * ** \fR(exponentiation\fR) | 18 | .B + - * ** \fR(exponentiation\fR) |