Revision: 24850
Author: [email protected]
Date: Thu Oct 23 15:09:38 2014 UTC
Log: Disambiguate pow
[email protected]
BUG=
Review URL: https://codereview.chromium.org/673793002
https://code.google.com/p/v8/source/detail?r=24850
Modified:
/branches/bleeding_edge/src/compiler/simplified-lowering.cc
=======================================
--- /branches/bleeding_edge/src/compiler/simplified-lowering.cc Thu Oct 23
14:40:43 2014 UTC
+++ /branches/bleeding_edge/src/compiler/simplified-lowering.cc Thu Oct 23
15:09:38 2014 UTC
@@ -77,7 +77,8 @@
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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.