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

Side by Side Diff: tests/corelib_strong/double_parse_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014 the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // VMOptions=--no-use-field-guards 4 // VMOptions=--no-use-field-guards
5 // VMOptions= 5 // VMOptions=
6 6
7 import "dart:math" show pow; 7 import "dart:math" show pow;
8 import "package:expect/expect.dart"; 8 import "package:expect/expect.dart";
9 9
10 const whiteSpace = const [ 10 const whiteSpace = const [
11 "", 11 "",
12 "\x09", 12 "\x09",
13 "\x0a", 13 "\x0a",
14 "\x0b", 14 "\x0b",
15 "\x0c", 15 "\x0c",
16 "\x0d", 16 "\x0d",
17 "\x85", /// 01: ok 17 "\x85", // /// 01: ok
18 "\xa0", 18 "\xa0",
19 "\u1680", 19 "\u1680",
20 "\u2000", 20 "\u2000",
21 "\u2001", 21 "\u2001",
22 "\u2002", 22 "\u2002",
23 "\u2003", 23 "\u2003",
24 "\u2004", 24 "\u2004",
25 "\u2005", 25 "\u2005",
26 "\u2006", 26 "\u2006",
27 "\u2007", 27 "\u2007",
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 "1806252781222000513169502627641523911022607448403553068808609405" / // 03: ok 244 "1806252781222000513169502627641523911022607448403553068808609405" / // 03: ok
245 "1727798181294290864842608522062097649849550765341204993205100587" / // 03: ok 245 "1727798181294290864842608522062097649849550765341204993205100587" / // 03: ok
246 "2127469658709242016690593998242808606978027857019419997429604579" / // 03: ok 246 "2127469658709242016690593998242808606978027857019419997429604579" / // 03: ok
247 "7572623273334010723772922131119806567715298322567005234345331218" / // 03: ok 247 "7572623273334010723772922131119806567715298322567005234345331218" / // 03: ok
248 "5169920860031716486480793611343761679481328431956040281530986197" / // 03: ok 248 "5169920860031716486480793611343761679481328431956040281530986197" / // 03: ok
249 "8304604971452253283193290744072288902141724247846767401941767720" / // 03: ok 249 "8304604971452253283193290744072288902141724247846767401941767720" / // 03: ok
250 "8561650585989659548591956327689896895290365125294085321852619688" / // 03: ok 250 "8561650585989659548591956327689896895290365125294085321852619688" / // 03: ok
251 "9863888974446146846024033780172178553364579041996676675092137151" / // 03: ok 251 "9863888974446146846024033780172178553364579041996676675092137151" / // 03: ok
252 "9705456298034409473812692774776868254618683783877327369245051207" / // 03: ok 252 "9705456298034409473812692774776868254618683783877327369245051207" / // 03: ok
253 "5931578479504396230612962142122846982018227555473696607567828620" / // 03: ok 253 "5931578479504396230612962142122846982018227555473696607567828620" / // 03: ok
254 "5497859173707553281928994692862033843994140625", / // 03: ok 254 "5497859173707553281928994692862033843994140625", // /// 03: ok
255 5e-324); / // 03: ok 255 5e-324); // /// 03: ok
256 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 256 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
257 "0000000000000000000000000000000000000000000000000000000000000000" 257 "0000000000000000000000000000000000000000000000000000000000000000"
258 "0000000000000000000000000000000000000000000000000000000000000000" 258 "0000000000000000000000000000000000000000000000000000000000000000"
259 "0000000000000000000000000000000000000000000000000000000000000000" 259 "0000000000000000000000000000000000000000000000000000000000000000"
260 "0000000000000000000000000000000000000000000000000000000000000000" 260 "0000000000000000000000000000000000000000000000000000000000000000"
261 "0000037054923438093490813242659465116602918087143186126352238665" 261 "0000037054923438093490813242659465116602918087143186126352238665"
262 "4061891674274999582254154033144959392383231717975289492511095959" 262 "4061891674274999582254154033144959392383231717975289492511095959"
263 "2096640779585747657231506869704773681319051549691937265430115392" 263 "2096640779585747657231506869704773681319051549691937265430115392"
264 "9316510179867828993955338712739726887403536747219495345250565253" 264 "9316510179867828993955338712739726887403536747219495345250565253"
265 "9734220743745353366904984135736109339114232557854653467028698863" 265 "9734220743745353366904984135736109339114232557854653467028698863"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 "8523751013260905313127797949754542453988569694847043168576596389" / // 02: ok 378 "8523751013260905313127797949754542453988569694847043168576596389" / // 02: ok
379 "9850655339096945981621940161728171894510697854671067917687257517" / // 02: ok 379 "9850655339096945981621940161728171894510697854671067917687257517" / // 02: ok
380 "7347315553307795408549809608457500958111373034747658096871009590" / // 02: ok 380 "7347315553307795408549809608457500958111373034747658096871009590" / // 02: ok
381 "9754422710047573078097111189357848386756539987835030152280559340" / // 02: ok 381 "9754422710047573078097111189357848386756539987835030152280559340" / // 02: ok
382 "4659373979179073872386829939581848166016912201945649993128979841" / // 02: ok 382 "4659373979179073872386829939581848166016912201945649993128979841" / // 02: ok
383 "1362062484498678713572180352209017023903285791732520220528974020" / // 02: ok 383 "1362062484498678713572180352209017023903285791732520220528974020" / // 02: ok
384 "8029068540216066123755499834026713000358124864790413857434018755" / // 02: ok 384 "8029068540216066123755499834026713000358124864790413857434018755" / // 02: ok
385 "2090159017259254714629617513415977493871857473787096164563890871" / // 02: ok 385 "2090159017259254714629617513415977493871857473787096164563890871" / // 02: ok
386 "8119841271673056017045493004705269590165763776884908267986972573" / // 02: ok 386 "8119841271673056017045493004705269590165763776884908267986972573" / // 02: ok
387 "3665217655679410725087643375608460039849049721491174630855395563" / // 02: ok 387 "3665217655679410725087643375608460039849049721491174630855395563" / // 02: ok
388 "54188641513168478436313080237596295773983001708984375", / // 02: ok 388 "54188641513168478436313080237596295773983001708984375", // /// 02: ok
389 1e-323); / // 02: ok 389 1e-323); // /// 02: ok
390 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok 390 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok
391 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 391 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
392 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 392 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
393 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 393 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
394 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 394 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
395 "0000074109846876186981626485318930233205873343654412044724850344" / // 03: ok 395 "0000074109846876186981626485318930233205873343654412044724850344" / // 03: ok
396 "8923718677971811461747287833219166123210675953743507352131000861" / // 03: ok 396 "8923718677971811461747287833219166123210675953743507352131000861" / // 03: ok
397 "5508029119022396648780866584046796426383292609958261304514284249" / // 03: ok 397 "5508029119022396648780866584046796426383292609958261304514284249" / // 03: ok
398 "6061610746879932829188941791435548141415672575056325503240888674" / // 03: ok 398 "6061610746879932829188941791435548141415672575056325503240888674" / // 03: ok
399 "0040403932604439422384254107243478095284614859960753370503720954" / // 03: ok 399 "0040403932604439422384254107243478095284614859960753370503720954" / // 03: ok
400 "5808063977144841990843464643012899935961693114687389992568869106" / // 03: ok 400 "5808063977144841990843464643012899935961693114687389992568869106" / // 03: ok
401 "5599267374834247685403237712975952143398358575711517208866987110" / // 03: ok 401 "5599267374834247685403237712975952143398358575711517208866987110" / // 03: ok
402 "6349531233468788347546753834029761025748698485508885182206645314" / // 03: ok 402 "6349531233468788347546753834029761025748698485508885182206645314" / // 03: ok
403 "0639262948657591471263120659283236968907400986955900192071499065" / // 03: ok 403 "0639262948657591471263120659283236968907400986955900192071499065" / // 03: ok
404 "6496581595870337769532410323614883653969318176216473399700896902" / // 03: ok 404 "6496581595870337769532410323614883653969318176216473399700896902" / // 03: ok
405 "4282850500785430600410615352213843786678841324490411560469406158" / // 03: ok 405 "4282850500785430600410615352213843786678841324490411560469406158" / // 03: ok
406 "4550533979841101562169154890806946368370134291387467238490102415" / // 03: ok 406 "4550533979841101562169154890806946368370134291387467238490102415" / // 03: ok
407 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok 407 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok
408 "099571834741510656385798938572406768798828125", / // 03: ok 408 "099571834741510656385798938572406768798828125", // /// 03: ok
409 1e-323); / // 03: ok 409 1e-323); // /// 03: ok
410 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 410 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
411 "0000000000000000000000000000000000000000000000000000000000000000" 411 "0000000000000000000000000000000000000000000000000000000000000000"
412 "0000000000000000000000000000000000000000000000000000000000000000" 412 "0000000000000000000000000000000000000000000000000000000000000000"
413 "0000000000000000000000000000000000000000000000000000000000000000" 413 "0000000000000000000000000000000000000000000000000000000000000000"
414 "0000000000000000000000000000000000000000000000000000011125369292" 414 "0000000000000000000000000000000000000000000000000000011125369292"
415 "5360069154511635866620203210960799023116591527666370844360221740" 415 "5360069154511635866620203210960799023116591527666370844360221740"
416 "6959097927141579506255510282033669865517905502576217080776730054" 416 "6959097927141579506255510282033669865517905502576217080776730054"
417 "4280061926888594105653889967660011652398050737212918180359607825" 417 "4280061926888594105653889967660011652398050737212918180359607825"
418 "2347125186710418762540332530832907947436024558998429581982425031" 418 "2347125186710418762540332530832907947436024558998429581982425031"
419 "7954385059152437399890443876874974725790225802525457699928291235" 419 "7954385059152437399890443876874974725790225802525457699928291235"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 "3510525564718487986029401249963455450110781777556316353975973978" / // 03: ok 494 "3510525564718487986029401249963455450110781777556316353975973978" / // 03: ok
495 "4825173851725161436876623857879887229903814003929524302244972629" / // 03: ok 495 "4825173851725161436876623857879887229903814003929524302244972629" / // 03: ok
496 "6795040225381805100879491255387164751912585073962051947893527710" / // 03: ok 496 "6795040225381805100879491255387164751912585073962051947893527710" / // 03: ok
497 "5170790163081944841764003984818943810636714040207972316616704045" / // 03: ok 497 "5170790163081944841764003984818943810636714040207972316616704045" / // 03: ok
498 "0220895038833513659790739432367709097880422198053807344762226099" / // 03: ok 498 "0220895038833513659790739432367709097880422198053807344762226099" / // 03: ok
499 "3129277744388529754345873069706690065083079768940685222309466301" / // 03: ok 499 "3129277744388529754345873069706690065083079768940685222309466301" / // 03: ok
500 "4235389404255004774284573740536646273496781023858510820692328908" / // 03: ok 500 "4235389404255004774284573740536646273496781023858510820692328908" / // 03: ok
501 "0857253100067390568036719107632515767271783448958607838263400261" / // 03: ok 501 "0857253100067390568036719107632515767271783448958607838263400261" / // 03: ok
502 "9271291212296536333081616208300526650104600844121842238490102415" / // 03: ok 502 "9271291212296536333081616208300526650104600844121842238490102415" / // 03: ok
503 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok 503 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok
504 "099571834741510656385798938572406768798828125", / // 03: ok 504 "099571834741510656385798938572406768798828125", // /// 03: ok
505 1.112536929253601e-308); / // 03: ok 505 1.112536929253601e-308); // /// 03: ok
506 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 506 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
507 "0000000000000000000000000000000000000000000000000000000000000000" 507 "0000000000000000000000000000000000000000000000000000000000000000"
508 "0000000000000000000000000000000000000000000000000000000000000000" 508 "0000000000000000000000000000000000000000000000000000000000000000"
509 "0000000000000000000000000000000000000000000000000000000000000000" 509 "0000000000000000000000000000000000000000000000000000000000000000"
510 "0000000000000000000000000000000000000000000000000000011125369292" 510 "0000000000000000000000000000000000000000000000000000011125369292"
511 "5360118561076219991274620867840085845253828033646632276836664299" 511 "5360118561076219991274620867840085845253828033646632276836664299"
512 "2641598602648849715007375581870031501510285299140912526494460981" 512 "2641598602648849715007375581870031501510285299140912526494460981"
513 "0847165486286558093401850075478792915405182640326963458817779503" 513 "0847165486286558093401850075478792915405182640326963458817779503"
514 "7245335555582282368240205603137908586176939915496868313229764759" 514 "7245335555582282368240205603137908586176939915496868313229764759"
515 "1124000199184152785288518003113540316961252461082144468115330795" 515 "1124000199184152785288518003113540316961252461082144468115330795"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 "5482848940402484819383308231788212319506475197423260249353326444" / // 02: ok 570 "5482848940402484819383308231788212319506475197423260249353326444" / // 02: ok
571 "4130717265985540087275830129388183546908748591883986098046865342" / // 02: ok 571 "4130717265985540087275830129388183546908748591883986098046865342" / // 02: ok
572 "9694440740018214171090142139290408905547397593746087678853434622" / // 02: ok 572 "9694440740018214171090142139290408905547397593746087678853434622" / // 02: ok
573 "7708807769200010477987555066232823112546765790360487852208850575" / // 02: ok 573 "7708807769200010477987555066232823112546765790360487852208850575" / // 02: ok
574 "8752599546868752897347409845010678425979078962517411943872958339" / // 02: ok 574 "8752599546868752897347409845010678425979078962517411943872958339" / // 02: ok
575 "1841626929078828345647733525524686707077165117383988808631340302" / // 02: ok 575 "1841626929078828345647733525524686707077165117383988808631340302" / // 02: ok
576 "3919811372391502185169818655049136406061931820528945258278945377" / // 02: ok 576 "3919811372391502185169818655049136406061931820528945258278945377" / // 02: ok
577 "2640279824496362807465448266116748919295441238296611971177785355" / // 02: ok 577 "2640279824496362807465448266116748919295441238296611971177785355" / // 02: ok
578 "4605209927839760366494651758097211936470402475783551200969719627" / // 02: ok 578 "4605209927839760366494651758097211936470402475783551200969719627" / // 02: ok
579 "9349765358747644509438842714766105380341358326953487329219653376" / // 02: ok 579 "9349765358747644509438842714766105380341358326953487329219653376" / // 02: ok
580 "04188641513168478436313080237596295773983001708984375", / // 02: ok 580 "04188641513168478436313080237596295773983001708984375", // /// 02: ok
581 1.1125369292536017e-308); / // 02: ok 581 1.1125369292536017e-308); // /// 02: ok
582 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok 582 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok
583 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 583 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
584 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 584 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
585 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 585 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
586 "0000000000000000000000000000000000000000000000000000011125369292" / // 03: ok 586 "0000000000000000000000000000000000000000000000000000011125369292" / // 03: ok
587 "5360143264358512053601829696279729256322464871320782889085072085" / // 03: ok 587 "5360143264358512053601829696279729256322464871320782889085072085" / // 03: ok
588 "5882816605113390968002798115252835988728581456319724432907730915" / // 03: ok 588 "5882816605113390968002798115252835988728581456319724432907730915" / // 03: ok
589 "9788091045910990754434756551706808078781343347171179484873892074" / // 03: ok 589 "9788091045910990754434756551706808078781343347171179484873892074" / // 03: ok
590 "8408735933590351591729274322268456088851697134054755085223313705" / // 03: ok 590 "8408735933590351591729274322268456088851697134054755085223313705" / // 03: ok
591 "7994788991756876822274697984118452821074840662486211070432012189" / // 03: ok 591 "7994788991756876822274697984118452821074840662486211070432012189" / // 03: ok
592 "9901289544834521015804044548441730195923859875259151943312847604" / // 03: ok 592 "9901289544834521015804044548441730195923859875259151943312847604" / // 03: ok
593 "6078831819414397317478790886291621826572237901362985796969353392" / // 03: ok 593 "6078831819414397317478790886291621826572237901362985796969353392" / // 03: ok
594 "2240274065644224408961072655052184431452505441247416583051571936" / // 03: ok 594 "2240274065644224408961072655052184431452505441247416583051571936" / // 03: ok
595 "1189383755894699564098951411984008394330984751465415998685393549" / // 03: ok 595 "1189383755894699564098951411984008394330984751465415998685393549" / // 03: ok
596 "2981950252037042118981569077006826000273956875115116332683643956" / // 03: ok 596 "2981950252037042118981569077006826000273956875115116332683643956" / // 03: ok
597 "9967398203853664384761814691371489127171149929952724258833663970" / // 03: ok 597 "9967398203853664384761814691371489127171149929952724258833663970" / // 03: ok
598 "9550533979841101562169154890806946368370134291387467238490102415" / // 03: ok 598 "9550533979841101562169154890806946368370134291387467238490102415" / // 03: ok
599 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok 599 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok
600 "099571834741510656385798938572406768798828125", / // 03: ok 600 "099571834741510656385798938572406768798828125", // /// 03: ok
601 1.1125369292536017e-308); / // 03: ok 601 1.1125369292536017e-308); // /// 03: ok
602 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 602 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
603 "0000000000000000000000000000000000000000000000000000000000000000" 603 "0000000000000000000000000000000000000000000000000000000000000000"
604 "0000000000000000000000000000000000000000000000000000000000000000" 604 "0000000000000000000000000000000000000000000000000000000000000000"
605 "0000000000000000000000000000000000000000000000000000000000000000" 605 "0000000000000000000000000000000000000000000000000000000000000000"
606 "0000000000000000000000000000000000000000000000000000022250738585" 606 "0000000000000000000000000000000000000000000000000000022250738585"
607 "0720138309023271733240406421921598046233183055332741688720443481" 607 "0720138309023271733240406421921598046233183055332741688720443481"
608 "3918195854283159012511020564067339731035811005152434161553460108" 608 "3918195854283159012511020564067339731035811005152434161553460108"
609 "8560123853777188211307779935320023304796101474425836360719215650" 609 "8560123853777188211307779935320023304796101474425836360719215650"
610 "4694250373420837525080665061665815894872049117996859163964850063" 610 "4694250373420837525080665061665815894872049117996859163964850063"
611 "5908770118304874799780887753749949451580451605050915399856582470" 611 "5908770118304874799780887753749949451580451605050915399856582470"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 "5857650751428906748569733780796363397546806336554745935958399010" / // 03: ok 685 "5857650751428906748569733780796363397546806336554745935958399010" / // 03: ok
686 "2779558910877598836767067734754861955694039806454982002173263865" / // 03: ok 686 "2779558910877598836767067734754861955694039806454982002173263865" / // 03: ok
687 "0888265793071484125840071160815995011874751834533813898637506208" / // 03: ok 687 "0888265793071484125840071160815995011874751834533813898637506208" / // 03: ok
688 "5650354607662094473839557158134613493810593365859440904719070326" / // 03: ok 688 "5650354607662094473839557158134613493810593365859440904719070326" / // 03: ok
689 "6111637871008949721205058253390132503584229153792338745607152721" / // 03: ok 689 "6111637871008949721205058253390132503584229153792338745607152721" / // 03: ok
690 "3679398551625637847181703822407461490506663533450201028923360785" / // 03: ok 690 "3679398551625637847181703822407461490506663533450201028923360785" / // 03: ok
691 "0720758060421709123733732493928588619801419722757153753675075962" / // 03: ok 691 "0720758060421709123733732493928588619801419722757153753675075962" / // 03: ok
692 "6541800803135624352387918446790161107764092054420920536627658074" / // 03: ok 692 "6541800803135624352387918446790161107764092054420920536627658074" / // 03: ok
693 "4271291212296536333081616208300526650104600844121842238490102415" / // 03: ok 693 "4271291212296536333081616208300526650104600844121842238490102415" / // 03: ok
694 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok 694 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok
695 "099571834741510656385798938572406768798828125", / // 03: ok 695 "099571834741510656385798938572406768798828125", // /// 03: ok
696 2.225073858507202e-308); / // 03: ok 696 2.225073858507202e-308); // /// 03: ok
697 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 697 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
698 "0000000000000000000000000000000000000000000000000000000000000000" 698 "0000000000000000000000000000000000000000000000000000000000000000"
699 "0000000000000000000000000000000000000000000000000000000000000000" 699 "0000000000000000000000000000000000000000000000000000000000000000"
700 "0000000000000000000000000000000000000000000000000000000000000000" 700 "0000000000000000000000000000000000000000000000000000000000000000"
701 "0000000000000000000000000000000000000000000000000000022250738585" 701 "0000000000000000000000000000000000000000000000000000022250738585"
702 "0720187715587855857894824078800884868370419561313003121196886039" 702 "0720187715587855857894824078800884868370419561313003121196886039"
703 "9600696529790429221262885863903701367028190801717129607271191035" 703 "9600696529790429221262885863903701367028190801717129607271191035"
704 "5127227413175152199055740043138804567803233377539881639177387328" 704 "5127227413175152199055740043138804567803233377539881639177387328"
705 "9592460742292701130780538133970816533612964474495297895212189790" 705 "9592460742292701130780538133970816533612964474495297895212189790"
706 "9078385258336590185178961879988515042751478263607602168043622031" 706 "9078385258336590185178961879988515042751478263607602168043622031"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 "2441946867544064325638818513821882185024380699999477330130056498" / // 03: ok 761 "2441946867544064325638818513821882185024380699999477330130056498" / // 03: ok
762 "8410779192874134192929720097048195199306799329096904278406473168" / // 03: ok 762 "8410779192874134192929720097048195199306799329096904278406473168" / // 03: ok
763 "2041565926728632933630474670123316852983422152744517260835859654" / // 03: ok 763 "2041565926728632933630474670123316852983422152744517260835859654" / // 03: ok
764 "5663192828352447877877998943107797838336991592885945552137141811" / // 03: ok 764 "5663192828352447877877998943107797838336991592885945552137141811" / // 03: ok
765 "2845825114558431922307989750439508685941245723089173894616936837" / // 03: ok 765 "2845825114558431922307989750439508685941245723089173894616936837" / // 03: ok
766 "2321191373658977977723286698840356390251044443035457396733706583" / // 03: ok 766 "2321191373658977977723286698840356390251044443035457396733706583" / // 03: ok
767 "9810554204566938246584137476071559811765738776267476659123871999" / // 03: ok 767 "9810554204566938246584137476071559811765738776267476659123871999" / // 03: ok
768 "3190400631733470900301279018817520344719025002806127777791679839" / // 03: ok 768 "3190400631733470900301279018817520344719025002806127777791679839" / // 03: ok
769 "1090578584006464715943810511489154282775041174682194133952466682" / // 03: ok 769 "1090578584006464715943810511489154282775041174682194133952466682" / // 03: ok
770 "5034313061815878293790042053923750720833666932415800027583911188" / // 03: ok 770 "5034313061815878293790042053923750720833666932415800027583911188" / // 03: ok
771 "54188641513168478436313080237596295773983001708984375", / // 03: ok 771 "54188641513168478436313080237596295773983001708984375", // /// 03: ok
772 2.2250738585072024e-308); / // 03: ok 772 2.2250738585072024e-308); // /// 03: ok
773 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok 773 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok
774 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 774 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
775 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 775 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
776 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 776 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
777 "0000000000000000000000000000000000000000000000000000022250738585" / // 03: ok 777 "0000000000000000000000000000000000000000000000000000022250738585" / // 03: ok
778 "0720212418870147920222032907240528279439056398987153733445293826" / // 03: ok 778 "0720212418870147920222032907240528279439056398987153733445293826" / // 03: ok
779 "2841914532254970474258308397286505854246486958895941513684460970" / // 03: ok 779 "2841914532254970474258308397286505854246486958895941513684460970" / // 03: ok
780 "4068152972799584860088646519366819731179394084384097665233499900" / // 03: ok 780 "4068152972799584860088646519366819731179394084384097665233499900" / // 03: ok
781 "0755861120300770354269606853101364036287721693053184667205738737" / // 03: ok 781 "0755861120300770354269606853101364036287721693053184667205738737" / // 03: ok
782 "5949174050909314222165141860993427546865066465011668770360303425" / // 03: ok 782 "5949174050909314222165141860993427546865066465011668770360303425" / // 03: ok
783 "3994515112524200040764624453870560455886026635830913894056826102" / // 03: ok 783 "3994515112524200040764624453870560455886026635830913894056826102" / // 03: ok
784 "6558396263994546949554344059607291509746117227014454385071719673" / // 03: ok 784 "6558396263994546949554344059607291509746117227014454385071719673" / // 03: ok
785 "8131016897819660470375391476074607837156312396985947983896498558" / // 03: ok 785 "8131016897819660470375391476074607837156312396985947983896498558" / // 03: ok
786 "1739504563131807656934782164684779819754568515974931805299288032" / // 03: ok 786 "1739504563131807656934782164684779819754568515974931805299288032" / // 03: ok
787 "9467318908203746468430727830398768346578595574013759265666391011" / // 03: ok 787 "9467318908203746468430727830398768346578595574013759265666391011" / // 03: ok
788 "5651945906921898169113014030529134467663458535415036957197921783" / // 03: ok 788 "5651945906921898169113014030529134467663458535415036957197921783" / // 03: ok
789 "4550533979841101562169154890806946368370134291387467238490102415" / // 03: ok 789 "4550533979841101562169154890806946368370134291387467238490102415" / // 03: ok
790 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok 790 "1863156959008792461225924284245693964036455110947393215135657241" / // 03: ok
791 "099571834741510656385798938572406768798828125", / // 03: ok 791 "099571834741510656385798938572406768798828125", // /// 03: ok
792 2.2250738585072024e-308); / // 03: ok 792 2.2250738585072024e-308); // /// 03: ok
793 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 793 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
794 "0000000000000000000000000000000000000000000000000000000000000000" 794 "0000000000000000000000000000000000000000000000000000000000000000"
795 "0000000000000000000000000000000000000000000000000000000000000000" 795 "0000000000000000000000000000000000000000000000000000000000000000"
796 "0000000000000000000000000000000000000000000000000000000000000000" 796 "0000000000000000000000000000000000000000000000000000000000000000"
797 "0000000000000000000000000000000000000100208418000448638899805402" 797 "0000000000000000000000000000000000000100208418000448638899805402"
798 "5675081023947173151201955956352756465219477298834774949553868001" 798 "5675081023947173151201955956352756465219477298834774949553868001"
799 "7172354813827222283890479851867436841402279176933922227531985191" 799 "7172354813827222283890479851867436841402279176933922227531985191"
800 "9016883548022442028316027357265612083085166971723487691494714589" 800 "9016883548022442028316027357265612083085166971723487691494714589"
801 "5578331812936322386545483369746322848628024994920311121080242823" 801 "5578331812936322386545483369746322848628024994920311121080242823"
802 "5714326388663336759990619917681011604908667604621058852897083245" 802 "5714326388663336759990619917681011604908667604621058852897083245"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 "7365336576866690449490575153391617964764463657240626936945707789" / // 03: ok 873 "7365336576866690449490575153391617964764463657240626936945707789" / // 03: ok
874 "0322677840073401894046998179185686691822730198820493814317137229" / // 03: ok 874 "0322677840073401894046998179185686691822730198820493814317137229" / // 03: ok
875 "5822164306994752582767555905533610628109411569344063803273395309" / // 03: ok 875 "5822164306994752582767555905533610628109411569344063803273395309" / // 03: ok
876 "4016739578124191615155910675820643598048478728683293279406596985" / // 03: ok 876 "4016739578124191615155910675820643598048478728683293279406596985" / // 03: ok
877 "3795142966229399885915374796852136102192598807080147602085351627" / // 03: ok 877 "3795142966229399885915374796852136102192598807080147602085351627" / // 03: ok
878 "7462738186176388661491270541112149644974737467220377156516124492" / // 03: ok 878 "7462738186176388661491270541112149644974737467220377156516124492" / // 03: ok
879 "5297987696655648150350049348782647584189423429523649017245633309" / // 03: ok 879 "5297987696655648150350049348782647584189423429523649017245633309" / // 03: ok
880 "0650703736050481424426844685046761507858235356421727632283550512" / // 03: ok 880 "0650703736050481424426844685046761507858235356421727632283550512" / // 03: ok
881 "9294184882356332903145058239310065886479547694117011957754993659" / // 03: ok 881 "9294184882356332903145058239310065886479547694117011957754993659" / // 03: ok
882 "5152049332041520812604025151794328168042160636342216519487980314" / // 03: ok 882 "5152049332041520812604025151794328168042160636342216519487980314" / // 03: ok
883 "421878240614097350935640662328296457417309284210205078125", / // 03: ok 883 "421878240614097350935640662328296457417309284210205078125", // /// 03: ok
884 1.0020841800044866e-292); / // 03: ok 884 1.0020841800044866e-292); // /// 03: ok
885 testParse("0.00000000000000000000000000000000000000000000000000000000000000" 885 testParse("0.00000000000000000000000000000000000000000000000000000000000000"
886 "0000000000000000000000000000000000000000000000000000000000000000" 886 "0000000000000000000000000000000000000000000000000000000000000000"
887 "0000000000000000000000000000000000000000000000000000000000000000" 887 "0000000000000000000000000000000000000000000000000000000000000000"
888 "0000000000000000000000000000000000000000000000000000000000000000" 888 "0000000000000000000000000000000000000000000000000000000000000000"
889 "0000000000000000000000000000000000000200416836000897255548872220" 889 "0000000000000000000000000000000000000200416836000897255548872220"
890 "0630023738871074569163505490783914884205771542336808210387292522" 890 "0630023738871074569163505490783914884205771542336808210387292522"
891 "0426513773371285555269939139667533951768747348715410293510510274" 891 "0426513773371285555269939139667533951768747348715410293510510274"
892 "9473643242267695845324274779211200861374232469021139022270213528" 892 "9473643242267695845324274779211200861374232469021139022270213528"
893 "6462413252451807248010301677826829802384000871843763078195635583" 893 "6462413252451807248010301677826829802384000871843763078195635583"
894 "5519882659021798720200352081612073758236883604191202305937584019" 894 "5519882659021798720200352081612073758236883604191202305937584019"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
946 "7385611700512865061525449421701203817286652851291627374287240329" / // 03: ok 946 "7385611700512865061525449421701203817286652851291627374287240329" / // 03: ok
947 "3753705169156289950978164746871212513772283206234057202629821353" / // 03: ok 947 "3753705169156289950978164746871212513772283206234057202629821353" / // 03: ok
948 "8809538439162226010550634208659737749820025430842192660178060615" / // 03: ok 948 "8809538439162226010550634208659737749820025430842192660178060615" / // 03: ok
949 "3474267718174236120090795958487048484027109406716660005865875254" / // 03: ok 949 "3474267718174236120090795958487048484027109406716660005865875254" / // 03: ok
950 "7540730218997620056025234843183240653494745917236268600971966054" / // 03: ok 950 "7540730218997620056025234843183240653494745917236268600971966054" / // 03: ok
951 "2572750817920844689872038240532666937066187074066929436725783508" / // 03: ok 951 "2572750817920844689872038240532666937066187074066929436725783508" / // 03: ok
952 "0513647350599865639683590212819431367049178252060735656411044144" / // 03: ok 952 "0513647350599865639683590212819431367049178252060735656411044144" / // 03: ok
953 "5314088186163138416702979387974756763836546863081940712096908853" / // 03: ok 953 "5314088186163138416702979387974756763836546863081940712096908853" / // 03: ok
954 "9929165937080868658779320353585122361868059050079309936626251244" / // 03: ok 954 "9929165937080868658779320353585122361868059050079309936626251244" / // 03: ok
955 "0765647609431766215648800660842354659507691394537687301635742187" / // 03: ok 955 "0765647609431766215648800660842354659507691394537687301635742187" / // 03: ok
956 "5", / // 03: ok 956 "5", // /// 03: ok
957 2.004168360008973e-292); / // 03: ok 957 2.004168360008973e-292); // /// 03: ok
958 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok 958 testParse("0.00000000000000000000000000000000000000000000000000000000000000" / // 03: ok
959 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 959 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
960 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 960 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
961 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok 961 "0000000000000000000000000000000000000000000000000000000000000000" / // 03: ok
962 "0000000000000000000000000000000000000200416836000897266674241512" / // 03: ok 962 "0000000000000000000000000000000000000200416836000897266674241512" / // 03: ok
963 "5990092893382710435783708785442689934124446215379877007119186963" / // 03: ok 963 "5990092893382710435783708785442689934124446215379877007119186963" / // 03: ok
964 "1799271173601405540673717580039876412295823431198128133887844732" / // 03: ok 964 "1799271173601405540673717580039876412295823431198128133887844732" / // 03: ok
965 "7822096271111944266498822575337206743053529154538278267721206728" / // 03: ok 965 "7822096271111944266498822575337206743053529154538278267721206728" / // 03: ok
966 "1206759279588886755511816487266193645578706075743945771432529989" / // 03: ok 966 "1206759279588886755511816487266193645578706075743945771432529989" / // 03: ok
967 "5627720577353214542977288069464672781437627568914207256313896083" / // 03: ok 967 "5627720577353214542977288069464672781437627568914207256313896083" / // 03: ok
968 "6647266336088483105727658239269018534852601546443784653776612265" / // 03: ok 968 "6647266336088483105727658239269018534852601546443784653776612265" / // 03: ok
969 "4362171708319597782738064157144965045964873355636409438294693959" / // 03: ok 969 "4362171708319597782738064157144965045964873355636409438294693959" / // 03: ok
970 "3883447613213167389211587415988230219943616159642947883454256631" / // 03: ok 970 "3883447613213167389211587415988230219943616159642947883454256631" / // 03: ok
971 "7129850578881555219447792913718868827972321214300345663373246010" / // 03: ok 971 "7129850578881555219447792913718868827972321214300345663373246010" / // 03: ok
972 "5887233720340859229642766731751409169335306833113418201122555553" / // 03: ok 972 "5887233720340859229642766731751409169335306833113418201122555553" / // 03: ok
973 "1150187132469865334442659560994775205494930483192386561026478034" / // 03: ok 973 "1150187132469865334442659560994775205494930483192386561026478034" / // 03: ok
974 "5152049332041520812604025151794328168042160636342216519487980314" / // 03: ok 974 "5152049332041520812604025151794328168042160636342216519487980314" / // 03: ok
975 "421878240614097350935640662328296457417309284210205078125", / // 03: ok 975 "421878240614097350935640662328296457417309284210205078125", // /// 03: ok
976 2.004168360008973e-292); / // 03: ok 976 2.004168360008973e-292); // /// 03: ok
977 testParse("0.99999999999999988897769753748434595763683319091796875", 977 testParse("0.99999999999999988897769753748434595763683319091796875",
978 0.9999999999999999); 978 0.9999999999999999);
979 testParse("0.99999999999999988897769753748434595763683319091796879176194859" 979 testParse("0.99999999999999988897769753748434595763683319091796879176194859"
980 "5190556970945882299241904356487451251641385905655273315006228765" 980 "5190556970945882299241904356487451251641385905655273315006228765"
981 "423911854226535211864757002331316471099853515625", 981 "423911854226535211864757002331316471099853515625",
982 0.9999999999999999); 982 0.9999999999999999);
983 testParse("0.99999999999999994448884876874217297881841659545898433323805140" 983 testParse("0.99999999999999994448884876874217297881841659545898433323805140"
984 "4809443029054117700758095643512548748358614094344726684993771234" 984 "4809443029054117700758095643512548748358614094344726684993771234"
985 "576088145773464788135242997668683528900146484375", 985 "576088145773464788135242997668683528900146484375",
986 0.9999999999999999); 986 0.9999999999999999);
987 testParse("0.999999999999999944488848768742172978818416595458984375", /// 03: ok 987 testParse("0.999999999999999944488848768742172978818416595458984375", /// 03: ok
988 1.0); /// 03: ok 988 1.0); // /// 03 : ok
989 testParse("0.99999999999999994448884876874217297881841659545898441676194859" / // 03: ok 989 testParse("0.99999999999999994448884876874217297881841659545898441676194859" / // 03: ok
990 "5190556970945882299241904356487451251641385905655273315006228765" / // 03: ok 990 "5190556970945882299241904356487451251641385905655273315006228765" / // 03: ok
991 "423911854226535211864757002331316471099853515625", / // 03: ok 991 "423911854226535211864757002331316471099853515625", // /// 03: ok
992 1.0); / // 03: ok 992 1.0); // /// 03: ok
993 testParse("0.499999999999999944488848768742172978818416595458984375", 993 testParse("0.499999999999999944488848768742172978818416595458984375",
994 0.49999999999999994); 994 0.49999999999999994);
995 testParse("0.49999999999999994448884876874217297881841659545898439588097429" 995 testParse("0.49999999999999994448884876874217297881841659545898439588097429"
996 "7595278485472941149620952178243725625820692952827636657503114382" 996 "7595278485472941149620952178243725625820692952827636657503114382"
997 "7119559271132676059323785011656582355499267578125", 997 "7119559271132676059323785011656582355499267578125",
998 0.49999999999999994); 998 0.49999999999999994);
999 testParse("0.49999999999999997224442438437108648940920829772949216661902570" 999 testParse("0.49999999999999997224442438437108648940920829772949216661902570"
1000 "2404721514527058850379047821756274374179307047172363342496885617" 1000 "2404721514527058850379047821756274374179307047172363342496885617"
1001 "2880440728867323940676214988343417644500732421875", 1001 "2880440728867323940676214988343417644500732421875",
1002 0.49999999999999994); 1002 0.49999999999999994);
1003 testParse("0.4999999999999999722444243843710864894092082977294921875", /// 03: ok 1003 testParse("0.4999999999999999722444243843710864894092082977294921875", /// 03: ok
1004 0.5); /// 03: ok 1004 0.5); // /// 0 3: ok
1005 testParse("0.49999999999999997224442438437108648940920829772949220838097429" / // 03: ok 1005 testParse("0.49999999999999997224442438437108648940920829772949220838097429" / // 03: ok
1006 "7595278485472941149620952178243725625820692952827636657503114382" / // 03: ok 1006 "7595278485472941149620952178243725625820692952827636657503114382" / // 03: ok
1007 "7119559271132676059323785011656582355499267578125", / // 03: ok 1007 "7119559271132676059323785011656582355499267578125", // /// 03: ok
1008 0.5); / // 03: ok 1008 0.5); // /// 03: ok
1009 testParse("1.9999999999999997779553950749686919152736663818359375", 1009 testParse("1.9999999999999997779553950749686919152736663818359375",
1010 1.9999999999999998); 1010 1.9999999999999998);
1011 testParse("1.99999999999999977795539507496869191527366638183593758352389719" 1011 testParse("1.99999999999999977795539507496869191527366638183593758352389719"
1012 "0381113941891764598483808712974902503282771811310546630012457530" 1012 "0381113941891764598483808712974902503282771811310546630012457530"
1013 "84782370845307042372951400466263294219970703125", 1013 "84782370845307042372951400466263294219970703125",
1014 1.9999999999999998); 1014 1.9999999999999998);
1015 testParse("1.99999999999999988897769753748434595763683319091796866647610280" 1015 testParse("1.99999999999999988897769753748434595763683319091796866647610280"
1016 "9618886058108235401516191287025097496717228188689453369987542469" 1016 "9618886058108235401516191287025097496717228188689453369987542469"
1017 "15217629154692957627048599533736705780029296875", 1017 "15217629154692957627048599533736705780029296875",
1018 1.9999999999999998); 1018 1.9999999999999998);
1019 testParse("1.99999999999999988897769753748434595763683319091796875", /// 03: o k 1019 testParse("1.99999999999999988897769753748434595763683319091796875", /// 03: o k
1020 2.0); /// 03: o k 1020 2.0); // /// 03: ok
1021 testParse("1.99999999999999988897769753748434595763683319091796883352389719" / // 03: ok 1021 testParse("1.99999999999999988897769753748434595763683319091796883352389719" / // 03: ok
1022 "0381113941891764598483808712974902503282771811310546630012457530" / // 03: ok 1022 "0381113941891764598483808712974902503282771811310546630012457530" / // 03: ok
1023 "84782370845307042372951400466263294219970703125", / // 03: ok 1023 "84782370845307042372951400466263294219970703125", // /// 03: ok
1024 2.0); / // 03: ok 1024 2.0); // /// 03: ok
1025 testParse("4503599627370495.5", 1025 testParse("4503599627370495.5",
1026 4503599627370495.5); 1026 4503599627370495.5);
1027 testParse("4503599627370495.50000000000000000000000000000000000018807909613" 1027 testParse("4503599627370495.50000000000000000000000000000000000018807909613"
1028 "1566001274997845955559308450986489083534003441400273004546761512" 1028 "1566001274997845955559308450986489083534003441400273004546761512"
1029 "75634765625", 1029 "75634765625",
1030 4503599627370495.5); 1030 4503599627370495.5);
1031 testParse("4503599627370495.74999999999999999999999999999999999981192090386" 1031 testParse("4503599627370495.74999999999999999999999999999999999981192090386"
1032 "8433998725002154044440691549013510916465996558599726995453238487" 1032 "8433998725002154044440691549013510916465996558599726995453238487"
1033 "24365234375", 1033 "24365234375",
1034 4503599627370495.5); 1034 4503599627370495.5);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 testFail("INFINITY"); 1150 testFail("INFINITY");
1151 testFail("1.#INF"); 1151 testFail("1.#INF");
1152 testFail("inf"); 1152 testFail("inf");
1153 testFail("nan"); 1153 testFail("nan");
1154 testFail("NAN"); 1154 testFail("NAN");
1155 testFail("1.#IND"); 1155 testFail("1.#IND");
1156 testFail("indef"); 1156 testFail("indef");
1157 testFail("qnan"); 1157 testFail("qnan");
1158 testFail("snan"); 1158 testFail("snan");
1159 } 1159 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698