projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5509cc2
)
Disambiguate pow
author
jarin@chromium.org
<jarin@chromium.org>
Thu, 23 Oct 2014 15:09:38 +0000
(15:09 +0000)
committer
jarin@chromium.org
<jarin@chromium.org>
Thu, 23 Oct 2014 15:09:38 +0000
(15:09 +0000)
TBR=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
673793002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24850
ce2b1a6d
-e550-0410-aec6-
3dcde31c8c00
src/compiler/simplified-lowering.cc
patch
|
blob
|
history
diff --git
a/src/compiler/simplified-lowering.cc
b/src/compiler/simplified-lowering.cc
index
a0cb037
..
9204e88
100644
(file)
--- a/
src/compiler/simplified-lowering.cc
+++ b/
src/compiler/simplified-lowering.cc
@@
-77,7
+77,8
@@
class RepresentationSelector {
Factory* f = zone->isolate()->factory();
safe_int_additive_range_ =
- Type::Range(f->NewNumber(-pow(2, 52)), f->NewNumber(pow(2, 52)), zone);
+ Type::Range(f->NewNumber(-std::pow(2.0, 52.0)),
+ f->NewNumber(std::pow(2.0, 52.0)), zone);
}
void Run(SimplifiedLowering* lowering) {