summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2007-10-12 16:05:57 +0000
committerNeil Booth <neil@daikokuya.co.uk>2007-10-12 16:05:57 +0000
commitd502a82092de7beb3b26859ac3a5e30cfc6d3b39 (patch)
tree6991b2ffb0281f3b7809c1b21385d77d83155439 /llvm/lib/Support/APFloat.cpp
parentb93d90e98c1b76afc40123b66078d051cd8380fe (diff)
downloadbcm5719-llvm-d502a82092de7beb3b26859ac3a5e30cfc6d3b39.tar.gz
bcm5719-llvm-d502a82092de7beb3b26859ac3a5e30cfc6d3b39.zip
Remove duplicate comment.
llvm-svn: 42913
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r--llvm/lib/Support/APFloat.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index d040932a152..65ec7857255 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/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 };
OpenPOWER on IntegriCloud