Computing N-th Roots using the Babylonian Method

René Thiemann 🌐

January 3, 2013

Abstract

We implement the Babylonian method to compute n-th roots of numbers. We provide precise algorithms for naturals, integers and rationals, and offer an approximation algorithm for square roots over linear ordered fields. Moreover, there are precise algorithms to compute the floor and the ceiling of n-th roots.

License

GNU Lesser General Public License (LGPL)

History

July 11, 2014
Moved NthRoot_Impl from Real-Impl to this entry.
October 16, 2013
Added algorithms to compute floor and ceiling of sqrt of integers.

Topics

Session Sqrt_Babylonian