aboutsummaryrefslogtreecommitdiff
path: root/tests/i64_precise.txt
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-01 15:45:03 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-01 15:45:03 -0700
commit16c9bd517a2b5327b81c475bfc5ac52b5affccb2 (patch)
tree95b0124486ce5ee3b971896d53259030a8e265c9 /tests/i64_precise.txt
parent7455fa112b79e73aa7c731c5c18c040dcd536a8a (diff)
add jsbn bignum library, fixes printing of unsigned precise i64s
Diffstat (limited to 'tests/i64_precise.txt')
-rw-r--r--tests/i64_precise.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/i64_precise.txt b/tests/i64_precise.txt
index 94db160e..f32aa177 100644
--- a/tests/i64_precise.txt
+++ b/tests/i64_precise.txt
@@ -1,3 +1,66 @@
+unsigned 0: 0,5,5,18446744073709551611,0
+unsigned 1: 0,35,35,18446744073709551581,0
+unsigned 2: 1,195,196,18446744073709551422,195
+unsigned 3: 3,1020,1023,18446744073709550599,3060
+unsigned 4: 6,5195,5201,18446744073709546427,31170
+unsigned 5: 12,26165,26177,18446744073709525463,313980
+unsigned 6: 25,131205,131230,18446744073709420436,3280125
+unsigned 7: 51,656790,656841,18446744073708894877,33496290
+unsigned 8: 102,3285485,3285587,18446744073706266233,335119470
+unsigned 9: 204,16430495,16430699,18446744073693121325,3351820980
+unsigned 10: 409,82158615,82159024,18446744073627393410,33602873535
+unsigned 11: 819,410805360,410806179,18446744073298747075,336449589840
+unsigned 12: 1638,2054051375,2054053013,18446744071655501879,3364536152250
+unsigned 13: 3276,10270306025,10270309301,18446744063439248867,33645522537900
+unsigned 14: 6553,51351628425,51351634978,18446744022357929744,336507221069025
+unsigned 15: 13107,256758338730,256758351837,18446743816951225993,3365331545734110
+unsigned 16: 26214,1283792086865,1283792113079,18446742789917490965,33653325765079110
+unsigned 17: 52428,6418961220755,6418961273183,18446737654748383289,336533298881743140
+unsigned 18: 104857,32094807676635,32094807781492,18446711978901979838,3365365248548916195
+unsigned 19: 209715,160474041528900,160474041738615,18446583599668232431,15207069545523711884
+unsigned 20: 419430,802370213935955,802370214355385,18445941703496035091,4496745504385676562
+unsigned 21: 838860,4011851082262685,4011851083101545,18442732222628127791,8073977451737544988
+unsigned 22: 1677721,20059255436479245,20059255438156966,18426684818274750092,6972899699173253061
+unsigned 23: 3355443,100296277232727870,100296277236083313,18346447796480179189,14489229932752165722
+unsigned 24: 6710886,501481386264302645,501481386271013531,17945262687451959857,15765766351451925278
+unsigned 25: 13421772,2507406931522839815,2507406931536261587,15939337142200133573,10086413084431357332
+unsigned 26: 26843545,12537034658016852255,12537034658043695800,5909709415719542906,2731509698427185799
+unsigned 27: 53687091,7344941069760912792,7344941069814599883,11101803004002325915,16256528535618547016
+unsigned 28: 107374182,18277961276705625079,18277961276812999261,168782797111300719,15164270991448465002
+unsigned 29: 214748364,17602830091911144401,17602830092125892765,843913982013155579,4760510224565868172
+unsigned 30: 429496729,14227174171159966481,14227174171589463210,4219569902979081864,9259055794720517673
+unsigned 31: 858993459,15795638647556079442,15795638648415072901,2651105427012465633,8773778578690814806
+unsigned 32: 1717986918,5191216968711994521,5191216970429981439,13255527106715544013,2882763035818302198
+unsigned 33: 3435973836,7509340821390028539,7509340824826002375,10937403255755496913,3002188606886016004
+unsigned 34: 6871947673,653216062610254563,653216069482202236,17793528017971244726,1160311421120597163
+unsigned 35: 13743895347,3266080519209703020,3266080532953598367,15180663568243743943,7490496812310051716
+unsigned 36: 27487790694,16330403008365375515,16330403035853166209,2116341092831966795,8496689265331596482
+unsigned 37: 54975581388,7865039571622391941,7865039626597973329,10581704557062741063,3801217959335798268
+unsigned 38: 109951162777,2431711359960298133,2431711469911460910,16015032823700416260,10929097356750440461
+unsigned 39: 219902325555,12158560098336373990,12158560318238699545,6288184195275503181,3390366976150811602
+unsigned 40: 439804651110,5452574867622981757,5452575307427632867,12994169645891220969,4388876164940275662
+unsigned 41: 879609302220,8816143458544890479,8816144338154192699,9630601494773963357,18063307631679153268
+unsigned 42: 1759218604441,7187255533584415783,7187257292803020224,11259490299343740274,10731539484643328591
+unsigned 43: 3518437208883,17489586370770660544,17489589889207869427,957161221376099955,6745745258281429568
+unsigned 44: 7036874417766,13661061112131362751,13661068149005780517,4785689998452606631,1049124659338985498
+unsigned 45: 14073748835532,12965284445760691897,12965298519509527429,5481473701697695251,3112351931422336876
+unsigned 46: 28147497671065,9486612220139870617,9486640367637541682,8960160001067352064,11094552886493166961
+unsigned 47: 56294995342131,10540417378210381818,10540473673205723949,7906382990494511929,3425601976498736334
+unsigned 48: 112589990684262,15810287593493069793,15810400183483754055,2636569070207166085,4740441117117290918
+unsigned 49: 225179981368524,5267839372347670371,5268064552329038895,13179129881343249769,3129072874530825956
+unsigned 50: 450359962737049,7899208187469855979,7899658547432593028,10547986246202432686,9662536335886195571
+unsigned 51: 900719925474099,2616063588812288148,2616964308737762247,15831581204822737567,18056837904917260668
+unsigned 52: 1801439850948198,13107339541825663715,13109140981676611913,5341205971734836099,3467025862604273778
+unsigned 53: 3602879701896396,10250508683528109677,10254111563230006073,8199838269883338335,8794376607022815964
+unsigned 54: 7205759403792793,14467141661278337053,14474347420682129846,3986808171835007356,17354123729136361045
+unsigned 55: 14411518807585587,17211648867376814222,17226060386184399809,1249506725140322981,17050849970911342154
+unsigned 56: 28823037615171174,12703613606273432261,12732436643888603435,5771953505051290529,11664739411905079422
+unsigned 57: 57646075230342348,9042526938693641687,9100173013923984035,9461863210246252277,16227931067794422612
+unsigned 58: 115292150460684697,10048528802959375663,10163820953420060360,8513507421210860650,10457660234102286359
+unsigned 59: 230584300921369395,16807920381198316008,17038504682119685403,1869407993432605003,16929834404840843576
+unsigned 60: 461168601842738790,17170154638794455431,17631323240637194221,1737758036757834975,7428164801607120330
+unsigned 61: 922337203685477580,7452110880706682785,8374448084392160365,11916970396688346411,17096741387571593292
+unsigned 62: 1844674407370955161,9590438292969086497,11435112700340041658,10700980188111420280,7158457875815234233
signed 0: 0,5,5,-5,0,0,0,0,0
signed 1: 0,-35,-35,35,0,0,0,0,0
signed 2: -1,-155,-156,154,155,0,155,-1,0