Math
examples/other/math.cr
puts Math.sqrt(4) # square root puts Math.cbrt(8) # cube root puts 4 ** 0.5 puts 8 ** (1/3) puts Math.hypot(3, 4) # hypotenuse (Pythagoras) puts Math.max(3, 10) # for only 2 values puts Math.min(3, 10) # for only 2 values