| Algorithm: | div(a, b, c, d) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | div(a, b, c, d) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | a.split(b, c, d) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := abs(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := sign(a) | |
|---|---|---|
| Input: | ||
| Output: | ||
| else if |
||
| else |
| Algorithm: | c := units(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | b := log2(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | sqrt(a, b, c) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | b := sqrt(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := root(a, b) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := pow(a, b) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := pow(a, b) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c.setbit(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c.clearbit(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := b.testbit(a) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := a.odd() | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := a.even() | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := a.length() | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := a.highest() | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := a.lowest() | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | swap(a, b) | |
|---|---|---|
| Input: | ||
| Output: | ||
| where |
| Algorithm: | a.rand(n) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := Itoa(a, c, b) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | c := atoI(a, b) | |
|---|---|---|
| Input: | ||
| Output: |
| Algorithm: | gcd(a, b, x, y, z) | |
|---|---|---|
| Input: | ||
| Output: |