sign in
english version rss feed

inria-00072854, version 1

Karatsuba Square Root

Paul Zimmermann 1

N° RR-3805 (1999)

Abstract: We exhibit an algorithm to compute the square-root with remainder of a n-word number in 3\2word operations, where K(n) is the number of words operations to multiply two n-word numbers using Karatsuba's algorithm. If the remainder is not needed, the cost can be reduced to K(n) on average. This algorithm can be used for floating-point or polynomial computations too; although not optimal asymptotically, its simplicity gives a wide range of use, from about 50 to 1,000,000 digits, as shown by computer experiments.

  • Domain : Computer Science/Other
  • Keywords : square root – Karatsuba division – GNU MP – MPFR library
  • Internal note : RR-3805
 
  • inria-00072854, version 1
  • oai:hal.inria.fr:inria-00072854
  • From: 
  • Submitted on: Wednesday, 24 May 2006 11:05:58
  • Updated on: Friday, 20 April 2007 15:25:00
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...
all articles on CCSd database...