omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / exercises / square-root / square-root.om
| 1 | note Exercism-style exercise "square-root": https://exercism.org/tracks/python/exercises/square-root |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | note squareroot is the integer square root of n: the largest r with r * r <= n. |
| 4 | note Check it with: sh exercise.sh exercises/square-root |
| 5 | om2 |
| 6 | fn squareroot n ulong to ulong |
| 7 | note replace this line with your solution |
| 8 | trap 13 |
| 9 | end |