interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / square-root / square-root.om

9 lines · 388 bytes Raw Blame History
1note Exercism-style exercise "square-root": https://exercism.org/tracks/python/exercises/square-root
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note squareroot is the integer square root of n: the largest r with r * r <= n.
4note Check it with: sh exercise.sh exercises/square-root
5om2
6fn squareroot n ulong to ulong
7note replace this line with your solution
8trap 13
9end