#include "src/base/numbers/fixed-dtoa.h"
#include <stdint.h>
#include <cmath>
#include "src/base/logging.h"
#include "src/base/numbers/double.h"
namespace v8 {
namespace base {
class UInt128 { … };
static const int kDoubleSignificandSize = …;
static void FillDigits32FixedLength(uint32_t number, int requested_length,
Vector<char> buffer, int* length) { … }
static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { … }
static void FillDigits64FixedLength(uint64_t number, int requested_length,
Vector<char> buffer, int* length) { … }
static void FillDigits64(uint64_t number, Vector<char> buffer, int* length) { … }
static void DtoaRoundUp(Vector<char> buffer, int* length, int* decimal_point) { … }
static void FillFractionals(uint64_t fractionals, int exponent,
int fractional_count, Vector<char> buffer,
int* length, int* decimal_point) { … }
static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { … }
bool FastFixedDtoa(double v, int fractional_count, Vector<char> buffer,
int* length, int* decimal_point) { … }
}
}