 
            
            
            
            
                12 Aug
                
                    2004
                
            
            
                12 Aug
                
                '04
                
            
            
            
        
    
                12:59 p.m.
            
        blaetterrascheln@web.de wrote:
-- Here's the discrete version of Newton's method for finding -- the square root. Does it always work? Any literature?
I recently used, without range check,
sqrtInt n = help n where
            help x = let y = ((x + (n `div` x)) `div` 2)
                     in if y