Math.#sqrt (Ruby 3.4 リファレンスマニュアル)

x の非負の平方根(principal square root)を返します。