diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2007-10-12 16:05:57 +0000 |
---|---|---|
committer | Neil Booth <neil@daikokuya.co.uk> | 2007-10-12 16:05:57 +0000 |
commit | 6ac7016eb1a2f58612e291a91e50f3e22df44d74 (patch) | |
tree | 2b557a9444757964e199ffafb7472fbef7dab93a /lib/Support/APFloat.cpp | |
parent | 96c7471b39dc77d4f29658212e5a72e575b23c39 (diff) |
Remove duplicate comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APFloat.cpp')
-rw-r--r-- | lib/Support/APFloat.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp index d040932a15..65ec785725 100644 --- a/lib/Support/APFloat.cpp +++ b/lib/Support/APFloat.cpp @@ -325,17 +325,6 @@ namespace { static unsigned int powerOf5(integerPart *dst, unsigned int power) { - /* A tight upper bound on number of parts required to hold the - value pow(5, power) is - - power * 65536 / (28224 * integerPartWidth) + 1 - - However, whilst the result may require only N parts, because we - are multiplying two values to get it, the multiplication may - require N + 1 parts with the excess part being zero (consider - the trivial case of 1 * 1, the multiplier requires two parts to - hold the single-part result). So we add two to guarantee - enough space whilst multiplying. */ static integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125, 15625, 78125 }; static integerPart pow5s[maxPowerOfFiveParts * 2 + 5] = { 78125 * 5 }; |