35 using namespace v8::internal;
94 const double x = 010000000000;
213 "0000000000" "0000000000" "0000000000",
NO_FLAGS));
221 "0000000000" "0000000000" "0000000000" "1",
NO_FLAGS));
235 TEST(MaximumSignificantDigits) {
238 "4.4501477170144020250819966727949918635852426585926051135169509"
239 "122872622312493126406953054127118942431783801370080830523154578"
240 "251545303238277269592368457430440993619708911874715081505094180"
241 "604803751173783204118519353387964161152051487413083163272520124"
242 "606023105869053620631175265621765214646643181420505164043632222"
243 "668006474326056011713528291579642227455489682133472873831754840"
244 "341397809846934151055619529382191981473003234105366170879223151"
245 "087335413188049110555339027884856781219017754500629806224571029"
246 "581637117459456877330110324211689177656713705497387108207822477"
247 "584250967061891687062782163335299376138075114200886249979505279"
248 "101870966346394401564490729731565935244123171539810221213221201"
249 "847003580761626016356864581135848683152156368691976240370422601"
250 "6998291015625000000000000000000000000000000000e-308";
255 num[
sizeof(num) - 8] =
'1';
265 "445014771701440202508199667279499186358524265859260511351695091"
266 "228726223124931264069530541271189424317838013700808305231545782"
267 "515453032382772695923684574304409936197089118747150815050941806"
268 "048037511737832041185193533879641611520514874130831632725201246"
269 "060231058690536206311752656217652146466431814205051640436322226"
270 "680064743260560117135282915796422274554896821334728738317548403"
271 "413978098469341510556195293821919814730032341053661708792231510"
272 "873354131880491105553390278848567812190177545006298062245710295"
273 "816371174594568773301103242116891776567137054973871082078224775"
274 "842509670618916870627821633352993761380751142008862499795052791"
275 "018709663463944015644907297315659352441231715398102212132212018"
276 "470035807616260163568645811358486831521563686919762403704226016"
277 "998291015625000000000000000000000000000000000e-1108";
282 num[
sizeof(num) - 8] =
'1';
290 char num[] =
"0.16e309";
318 for (
int i = 0; i < 2; i++) {
333 for (
int i = 0; i < 256; i++) {
#define CHECK_EQ(expected, value)
double StringToDouble(UnicodeCache *unicode_cache, const char *str, int flags, double empty_string_val)
#define V8_2PART_UINT64_C(a, b)
static double nan_value()
static bool is_valid(uint32_tvalue)
static uint32_t decode(uint32_tvalue)
static uint32_t encode(uint32_tvalue)