projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b38d7d
)
Make firstEightPowers const.
author
Dan Gohman
<gohman@apple.com>
Mon, 12 May 2008 16:38:14 +0000
(16:38 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 12 May 2008 16:38:14 +0000
(16:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50975
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/APFloat.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/APFloat.cpp
b/lib/Support/APFloat.cpp
index 7d6c4dc0bfc52844fd75ea07578afc31e43f7ca3..187b108048a8b85200ffa2896a1102bde8247bec 100644
(file)
--- a/
lib/Support/APFloat.cpp
+++ b/
lib/Support/APFloat.cpp
@@
-438,8
+438,8
@@
namespace {
static unsigned int
powerOf5(integerPart *dst, unsigned int power)
{
- static integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
- 15625, 78125 };
+ static
const
integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
+
15625, 78125 };
static integerPart pow5s[maxPowerOfFiveParts * 2 + 5] = { 78125 * 5 };
static unsigned int partsCount[16] = { 1 };