Computing N-Th Roots Using the Babylonian Method

RenĂ© Thiemann đŸ“§

January 3, 2013


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.


GNU Lesser General Public License (LGPL)


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.


Session Sqrt_Babylonian