#include <cmath>
-#include "../include/v8stdint.h"
-#include "checks.h"
-#include "utils.h"
+#include "src/base/logging.h"
+#include "src/utils.h"
-#include "dtoa.h"
+#include "src/dtoa.h"
-#include "bignum-dtoa.h"
-#include "double.h"
-#include "fast-dtoa.h"
-#include "fixed-dtoa.h"
+#include "src/bignum-dtoa.h"
+#include "src/double.h"
+#include "src/fast-dtoa.h"
+#include "src/fixed-dtoa.h"
namespace v8 {
namespace internal {
void DoubleToAscii(double v, DtoaMode mode, int requested_digits,
Vector<char> buffer, int* sign, int* length, int* point) {
- ASSERT(!Double(v).IsSpecial());
- ASSERT(mode == DTOA_SHORTEST || requested_digits >= 0);
+ DCHECK(!Double(v).IsSpecial());
+ DCHECK(mode == DTOA_SHORTEST || requested_digits >= 0);
if (Double(v).Sign() < 0) {
*sign = 1;