![]() |
![]() |
![]() |
![]() |
![]() |
|
The - message is a binary message. Accordingly, if you wish to
calculate the negative of a number, you must use the unary
negated method:
5 negated <-- Negate 5, answer -5
Similarly, the / message is a binary message. If you wish to
calculate the reciprocal of a number, you must use the unary
reciprocal method:
5 reciprocal <-- Reciprocate 5, answer (1/5)