cifl-math-library-1.1.1.0: Math libraries
Safe HaskellSafe
LanguageHaskell2010

Math.Tools.Integer

Synopsis

Documentation

newton_square_root_list :: Integral a => a -> [a] Source #

Some numbers may cause newton_square_root_list to produce an infinite sequence such as newton_square_root_list 48 == [1,24,13,8,7,8,7,...] We guard against this by terminating if the difference between two adjacent results is less than 2.

gcd_ :: Integral a => a -> a -> a Source #