Next: Comparisons
Up: Rational (rational.h)
Previous: Arithmetical Operations
- Shifting
| Algorithm: |
|
c := a << b |
| Input: |
|
. |
| Output: |
|
such that  |
| Algorithm: |
|
c := c <<= a |
| Input: |
|
. |
| Output: |
|
such that  |
| Algorithm: |
|
c := a >> b |
| Input: |
|
. |
| Output: |
|
such that  |
| Algorithm: |
|
c := c >>= a |
| Input: |
|
. |
| Output: |
|
such that  |
Piologie Version 1.2
3/3/1998