Anonymous user
Arithmetic/Integer: Difference between revisions
m
→{{header|dc}}: 'p' does not pop the stack; use 'sz' to pop and discard the top value.
m (→{{header|dc}}: 'p' does not pop the stack; use 'sz' to pop and discard the top value.) |
|||
Line 416:
=={{header|dc}}==
<lang dc>[Enter 2 integers on 1 line.
Use whitespace to separate. Example: 2 3
Use underscore for negative
[add: ]P la lb + p▼
[
[
[
[
[mod: ]P la lb % p sz [sign matches first operand]sz
=={{header|E}}==
|