Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1122)

Unified Diff: third_party/fdlibm/fdlibm.cc

Issue 446863002: Move fdlibm from v8::internal to v8::fdlibm. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/fdlibm/fdlibm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/fdlibm/fdlibm.cc
diff --git a/third_party/fdlibm/fdlibm.cc b/third_party/fdlibm/fdlibm.cc
index 6b8084f8b9addb3c51b5ed7a769eb44d258f96e8..fe7e2316087b74ccdf3ed7d157176d5ade126c64 100644
--- a/third_party/fdlibm/fdlibm.cc
+++ b/third_party/fdlibm/fdlibm.cc
@@ -20,7 +20,7 @@
namespace v8 {
-namespace internal {
+namespace fdlibm {
#ifdef _MSC_VER
inline double scalbn(double x, int y) { return _scalb(x, y); }
@@ -228,7 +228,7 @@ recompute:
int rempio2(double x, double* y) {
- int32_t hx = static_cast<int32_t>(double_to_uint64(x) >> 32);
+ int32_t hx = static_cast<int32_t>(internal::double_to_uint64(x) >> 32);
int32_t ix = hx & 0x7fffffff;
if (ix >= 0x7ff00000) {
@@ -237,9 +237,9 @@ int rempio2(double x, double* y) {
}
int32_t e0 = (ix >> 20) - 1046;
- uint64_t zi = double_to_uint64(x) & 0xFFFFFFFFu;
+ uint64_t zi = internal::double_to_uint64(x) & 0xFFFFFFFFu;
zi |= static_cast<uint64_t>(ix - (e0 << 20)) << 32;
- double z = uint64_to_double(zi);
+ double z = internal::uint64_to_double(zi);
double tx[3];
for (int i = 0; i < 2; i++) {
« no previous file with comments | « third_party/fdlibm/fdlibm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698