Revision: 18079
Author:   [email protected]
Date:     Tue Nov 26 13:55:06 2013 UTC
Log:      Removed dead ceiling function.

[email protected]

Review URL: https://codereview.chromium.org/88133002
http://code.google.com/p/v8/source/detail?r=18079

Modified:
 /branches/bleeding_edge/src/platform-posix.cc
 /branches/bleeding_edge/src/platform-win32.cc
 /branches/bleeding_edge/src/platform.h

=======================================
--- /branches/bleeding_edge/src/platform-posix.cc Sat Nov 9 00:14:21 2013 UTC +++ /branches/bleeding_edge/src/platform-posix.cc Tue Nov 26 13:55:06 2013 UTC
@@ -288,12 +288,6 @@
// ----------------------------------------------------------------------------
 // Math functions

-double ceiling(double x) {
-  // Correct buggy 'ceil' on some systems (i.e. FreeBSD, OS X 10.5)
-  return (-1.0 < x && x < 0.0) ? -0.0 : ceil(x);
-}
-
-
 double modulo(double x, double y) {
   return fmod(x, y);
 }
=======================================
--- /branches/bleeding_edge/src/platform-win32.cc Wed Oct 2 13:30:31 2013 UTC +++ /branches/bleeding_edge/src/platform-win32.cc Tue Nov 26 13:55:06 2013 UTC
@@ -131,11 +131,6 @@
 intptr_t OS::MaxVirtualMemory() {
   return 0;
 }
-
-
-double ceiling(double x) {
-  return ceil(x);
-}


 #if V8_TARGET_ARCH_IA32
=======================================
--- /branches/bleeding_edge/src/platform.h      Fri Sep 27 10:53:07 2013 UTC
+++ /branches/bleeding_edge/src/platform.h      Tue Nov 26 13:55:06 2013 UTC
@@ -93,7 +93,6 @@
 namespace v8 {
 namespace internal {

-double ceiling(double x);
 double modulo(double x, double y);

 // Custom implementation of math functions.

--
--
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/groups/opt_out.

Reply via email to