llvm.org GIT mirror
Remove duplicate comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42913 91177308-0d34-0410-b5e6-96231b3b80d8 Neil Booth 13 years ago
1 changed file(s) with 0 addition(s) and 11 deletion(s).
 324 324 static unsigned int 325 325 powerOf5(integerPart *dst, unsigned int power) 326 326 { 327 /* A tight upper bound on number of parts required to hold the 328 value pow(5, power) is 329 330 power * 65536 / (28224 * integerPartWidth) + 1 331 332 However, whilst the result may require only N parts, because we 333 are multiplying two values to get it, the multiplication may 334 require N + 1 parts with the excess part being zero (consider 335 the trivial case of 1 * 1, the multiplier requires two parts to 336 hold the single-part result). So we add two to guarantee 337 enough space whilst multiplying. */ 338 327 static integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125, 339 328 15625, 78125 }; 340 329 static integerPart pow5s[maxPowerOfFiveParts * 2 + 5] = { 78125 * 5 };