public class JLS_15_18_2_AdditionOperator_1 {
public static void main(String args[]) {
byte[] bs = {-128,127,0,-64,98,-73,-108,36,53,84,88,-54,-102,-43,5,-110,17,86,-123,-122,76,107,119,-124,2,100,30,32,3,-46,-101,-56,-116,74,94,40,-36,104,-38,-50,6,22,119,17,9,14,-51,47,29,-100,14,-75,79,-88,-62,35,79,-13,-70,-49,-120,-95,62,9,113,-10,-120,127,34,100,118,-29,42,-59,122,-54,-97,-28,-44,-41,117,65,3,24,19,21,120,-81,35,-109,-115,-76,-87,112,-76,90,87,-91,-13,80,30,115,-113,105,8,-89,7,126,68,31,67,-110,-126,-116,13,56,-127,120,-64,49,-27,-118,62,88,77,9,39,-62,-91,-98,71,33,-72,93,79,104,8,6,-57,-76,-31,-121,67,106,-85,-59,-44,-100,-128,-101,-63,-80,-2,34,119,67,93,50,-67,74,-61,41,43,122,-42,-22,-36,-23,-109,40,98,-11,93,-28,-6,100,89,51,0,-51,-8,69,-92,53,-44,-94,-34,-4,-64,-75,-97,-6,26,-114,72,-28,98,-29,95,-12};
for(byte b1 : bs) {
for(byte b2 : bs) {
System.out.println(b1+b2);
}
}
System.out.println("==== CHAR ====");
char[] cs = {0x0,0xffff,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x6a,0x6b,0x6c,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x4a,0x49,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x25,0x7c87,0xa011,0x4866,0x39a2,0xcfc6,0xf99d,0x4b9c,0x5a86,0x8558,0xf0f1,0xfe14,0x3124,0x8a0e,0xb49a,0x1eae,0xe672,0x616f,0x291a,0x705b,0xc4ac,0xf100,0x8cda,0xc103,0xfe64,0x3bc4,0xe75f,0xfaa8,0x52de,0xd206,0xb7bc,0xa2cb,0x239a,0xf955,0x9647,0x6c0e,0xcf31,0xd0cf,0xbd8f,0xbe1a,0x6564,0xf5a2,0xae8d,0x57c2,0x871,0x6bcf,0x6418,0x6f68,0x8fa9,0xcf31,0xc99e,0xf59f,0x3f3e,0x10be,0x6911,0xde12,0xa961,0x440b,0x841e,0x92a3,0xc8c,0x4115,0xca4,0xf4d7,0xc31c,0x1e3d,0x3063,0x9170,0x9822,0xc694,0x6bf4,0xea5b,0x1579,0x3059,0x58f8,0xfacc,0x1f1b,0xf7bf,0xab94,0x59a7,0x6fb0,0x61f2,0x131c,0x9e21,0xca67,0xc5c,0xf20d,0xeaa7,0xf609,0xcc23,0x2141,0xc1fe,0xd54b,0x81f6,0x325d,0x8aaa,0x3063,0xe609,0xe58d,0x6494,0x3dd,0x905d,0xc673,0x34e6,0x68ae,0xc144,0x245c,0xc39,0x6989,0xae24,0xd9b4,0x4af2,0x5971,0x567a,0x96bc,0x27e9,0x7f8f,0x2522,0xa379,0x7d4a,0x2c45,0xe1d5,0x4cef,0xffc0,0x8b82,0xb6f2,0x718f,0x43cf,0xc857,0x4f80,0xe0ed,0x3581,0x55ca,0x5172,0x82b5,0xe644,0x70ea,0xb82d,0x78df,0xd512,0x3023,0xd348,0xb121,0x14d2,0xb3d3,0xed92,0x99a5,0xf4fe,0x4c1c,0xe058,0xecfc,0x1085,0xa7fb,0x16e7,0xc951,0xe6f1,0x6199,0xc64f,0x86e1,0x63cc,0x7be1,0x5d6a,0x1aa,0xf840,0xa552,0x711c,0x4a62,0x2afd};
for(char c1 : cs) {
for(char c2 : cs) {
System.out.println(c1+c2);
}
}
System.out.println("==== SHORT ====");
short[] ss = {-32768,32767,0,-8688,16983,-16769,-16183,32417,-23298,-8560,17035,29426,-28640,-11720,8786,-12590,-27331,16529,-29240,-25391,-28847,-17380,-20212,32094,22105,-13836,32729,-23792,-22763,-22458,27879,-16317,17166,-30720,-19568,-17945,-29478,11720,6071,13204,9374,11823,16357,18656,18643,14630,3508,2037,-179,10416,-26512,-32419,19065,-14631,-20998,-32481,-4378,32486,-529,17680,-29434,28109,21258,-15262,4916,-31257,32454,23680,-13320,-17949,-9401,-2274,-29558,25341,-30854,-629,-14444,22128,-16006,-21175,-30660,24105,821,-24098,-26271,2236,-15025,-22548,23843,1179,3142,11647,6313,31364,9174,-7258,-18402,6971,11422,25924,20219,-11143,24578,-2265,-10101,24868,11859,-19111,-852,10431,-25811,-15946,-9006,8739,31776,18366,11601,-21137,32146,27052,7898,-26308,4579,27335,-9146,-14571,-20782,-21769,-24430,8997,-737,18330,-22230,-7374,-8592,30104,-30614,16586,28024,-5964,-25503,8891,23637,-9179,-21033,27079,21817,-28571,-1135,-11112,16716,21064,13778,-20751,-26159,24399,11813,-16346,10119,15165,16218,11470,-11183,19179,-20019,16310,29464,-14248,-24595,19991,-24080,25604,7932,11019,10873,10109,-20461,-8643,-31609,27961,15721,-28192,24325,422,10196,-5150,21270,-16001,10382,18016,9596,18785,2876,31580,14909,-30050,-31700,14252,7811,22863};
for(short s1 : ss) {
for(short s2 : ss) {
System.out.println(s1+s2);
}
}
System.out.println("==== INT ====");
int[] is = {-2147483648,2147483647,0,1763060082,-814593344,-1743855880,1771388034,911599810,-2006498382,-487868712,-1353262854,-1319354716,982386520,-1651342802,1826011298,-449885135,2039943705,-626967339,-2102565559,2005752864,-1523943036,1364673097,-501953346,-2007411809,1390571156,-1661477730,2000574138,-1239622555,1307910196,55725747,1784280316,1069194247,-415514108,209964455,-1841589834,-230945653,652000093,1583029642,-360808409,1548470842,817578643,-536033961,719115144,-2002359622,-1506875271,1382157858,678084652,-2099695269,-1767253975,-461618803,-1044092190,-146328400,1042075396,820566912,-1354839395,-35468958,1062473975,-1051024616,2115141719,1200768576,-1703355136,874962655,998361393,-2045479527,2023171568,1424300094,1097395934,-1633007667,750752626,-1937563089,851106370,2115017505,-296087733,-1811523786,1784786005,-1045549869,-1094884638,458113681,-199917235,-1148778642,1516546307,1505503406,188334588,231211615,-1134323745,887497436,569616246,2094147271,-1790515369,-1196178875,-1867328266,-53015150,-1516349575,531459612,1586441217,395610823,1950489418,824635666,-1821557044,-791725535,-1589793851,-2004817395,1477248218,1108394207,-1402583260,-1539042277,-734218775,1764219096,2051252317,-795567708,1789128462,-1774880559,123044591,-39131425,842630686,-1762415086,1764323037,-337465465,-1850167472,311950134,-1839238918,1388846029,-1081059040,2105299011,-353518745,-2104078192,-619584907,-355012614,350667354,-1491482934,-128807163,-1367681425,-1879187168,723265101,293953016,-299928357,121817956,-1683581008,-2067192117,-1169697104,491540145,-574439037,-557768585,667845613,2005870645,254928073,-552847663,-576932685,-1843006777,907332775,907137588,594061848,-971280086,469140824,-1444874916,1337999419,-1516717933,-1319694749,1950930324,1784810904,-412287128,-286098416,-2061479660,1966646173,377295946,-590070761,1126426531,1735443581,-435895979,-1408405093,-1305994876,-463691197,-1183539290,1373674582,-120041329,-664569047,-1302651107,-240910572,-384256099,-1168234710,-2005940637,1891596645,-559700951,1555458773,-339480786,-1790850931,1440839219,950543203,395084483,114582463,-2088496537,2086707211,824998588,-493590646,-765633921,61455509,-1151325685,1875526803,41568228,-1215065811};
for(int i1 : is) {
for(int i2 : is) {
System.out.println(i1+i2);
}
}
System.out.println("==== LONG ====");
long[] ls = {-9223372036854775808L,9223372036854775807L,0L,-8474111525016252726L,-2802509675177611673L,1607712180973772798L,-8175703034471262288L,1715533125815316082L,-4007040503384893473L,-4646436199239366170L,-1835285783746353456L,-3249333678376091286L,3107531512359685217L,-3963076365655211760L,2007024329857161031L,2639499006181021410L,-3381217702926963425L,-8992687860472835306L,-3441337178776827965L,-4503371484864546944L,-4402067821670992929L,5583375864008976967L,8982148808328176835L,7544426274948227035L,-735499767541206663L,8312171174422786086L,-1025995632691294438L,-4041172618373657855L,2604357335606303837L,-5528349858760917015L,-6821514123700546960L,7619647655223430385L,-755560563609243894L,-4758466354141042438L,4076928450153688001L,-2848136005520130782L,2155118313403799192L,4981590870436413818L,3884495987445964764L,-6084055529889091333L,2521122485976133935L,4694721020229732537L,5669633984350069220L,733965901337282136L,286278655667215502L,-1366473358678910529L,-6062233179472901677L,5298063506905415180L,1672952474743788677L,-7443702531182826041L,4520458605278042866L,-5630558982398417319L,1060646058847101307L,-2775719620557410626L,-5697714609498219933L,2415298923149137273L,4257901075852678889L,-3365062555935581752L,-4781829582885210729L,4123432570455176217L,-3263005103053315620L,4394888382538330556L,1416258954819729624L,-468699612849203239L,4117715197152225143L,-4998831118813085277L,4215298985320158657L,4399936477534825933L,67085626496217967L,4679373232859868988L,6269342150130350528L,5222238830654682367L,-6306972236943690099L,1233597110612811131L,1582651553963914395L,-4945437140295825174L,-2264219446589663952L,-8892535783919198458L,8484003236402917096L,-8353065757650486272L,-9095764428467419704L,-535791311076607817L,-6775807840604508013L,6522886929290707494L,3719146870172155740L,-4507410930604624867L,-7585343023116175524L,6023771125898767155L,3424461045895641093L,-9192172859321384454L,-3829406873523577514L,1331105630402899316L,8565498201654489969L,7914426373456391366L,-5536169678441017494L,7605335407271100459L,5356553254435692897L,3097364863269722923L,-8436920046247357486L,-4544460468426832373L,-5849106582649500630L,8558387326383465095L,8044687335821484190L,-4269171665246844994L,5937769633364973368L,-5754822341798975123L,-8555635372279840206L,8186186830549220959L,3604856793141398919L,7644688390931438116L,-6260239778464198202L,3023819044406668800L,-640439388596748248L,8437628311836910886L,-8849732842193929243L,7163544463059832870L,2459352533166699714L,-6208637807734107230L,8563001930249721582L,-6416814704093016504L,-4770064908600990706L,8197703677035899387L,7982424615169444246L,1422853253172644947L,-8891248387629316006L,-9084854675748955576L,-6771383839663423132L,5774683061079147305L,1776177329737956359L,9000580590729971410L,5625803575360911668L,-2830247668011799779L,3176731568510380044L,4110754080696472728L,-3126340499223670859L,-1601443845339728264L,4518068493012206192L,4040589502210674126L,6448507689855233515L,-3208384125000377352L,-2067382681142174509L,8495626492852294745L,-20382102914450003L,7318415682015162700L,6200196247454237414L,1463193855810708565L,-2543216584091373528L,4859602343433868697L,-8447249439458580242L,-7955057378293946737L,-4963884309219486630L,6763196216023100408L,-4530563054664160699L,2925199451336807180L,-3393679976969978472L,-8958611557713566219L,1870910073962371033L,-5733555329076665472L,-7022578498531886584L,-622929851682709999L,-6903457915208264020L,-3234233115449240104L,5146583287993358632L,4263918787918201410L,-5383954170512404910L,-5057455742513414479L,-3031017281353547195L,-3293083776199356818L,-2888946549088508042L,6788998110796950494L,561722146872761093L,-8558854007372146957L,5300531610268015189L,-8605764093122357531L,8179650437737823710L,-849518012827557086L,3318594697206435137L,2462881115892639619L,156065011692191900L,3944810127404029887L,6791272665865503519L,-1409532294091717084L,3659734204180875999L,-3233654375766969981L,5580112134905469417L,-2540103023485829525L,8582979559907966106L,3868466788532359066L,1098150199043479854L,6186210970279162288L,-2922591374819236714L,-1488275446489215450L,-4475212165261963123L,3993492704866474365L,-731050741410265364L,-620326925403311942L,6869231689558804029L,4971133295855327761L,2529774645785146255L,-8594600286115603233L};
for(long l1 : ls) {
for(long l2 : ls) {
System.out.println(l1+l2);
}
}
System.out.println("==== FLOAT ====");
float[] fs = {Float.MIN_VALUE,Float.MAX_VALUE,Float.NaN,Float.NEGATIVE_INFINITY,Float.POSITIVE_INFINITY,0.20300198F,0.2648067F,0.15938556F,0.28127247F,0.45867795F,0.9739691F,0.59039193F,0.41968948F,0.15277648F,0.6253944F,0.58214104F,0.4106124F,0.3374464F,0.9479539F,0.07053542F,0.37660384F,0.43525553F,0.5202499F,0.014975965F,0.42861623F,0.8944328F,0.43784606F,0.98345846F,0.6447266F,0.8213495F,0.74834436F,0.42469996F,0.8302373F,0.6400397F,0.44704688F,0.8421727F,0.20390368F,0.92948353F,0.31704694F,0.051235974F,0.95770794F,0.8119476F,0.99154705F,0.84564227F,0.020159125F,0.91554993F,0.13038075F,0.31827456F,0.6407442F,0.9576917F,0.18262851F,0.63340616F,0.88421273F,0.22997707F,0.5764999F,0.6100343F,0.25929403F,0.68727607F,0.38806283F,0.18952477F,0.44178253F,0.32182896F,0.22181404F,0.8831511F,0.024391532F,0.04653883F,0.6465182F,0.048955917F,0.02617693F,0.31926143F,0.6053232F,0.271199F,0.3166257F,0.2520224F,0.6241466F,0.9135696F,0.40074944F,0.39632833F,0.81910455F,0.80906934F,0.1219269F,0.8493901F,0.92283F,0.020361423F,0.67211235F,0.748041F,0.15952921F,0.15541315F,0.9608195F,0.7099712F,0.47632164F,0.12102455F,0.44457322F,0.8387525F,0.6386667F,0.72357786F,0.21998507F,0.663804F,0.10352743F,0.7298952F,0.7520807F,0.8633494F,0.55647075F,0.94494474F,0.4639253F,0.9825873F,0.027428985F,0.3763845F,0.4260341F,0.16639864F,0.6517199F,0.4833027F,0.12970895F,0.37223762F,0.31365883F,0.9583642F,0.335634F,0.70131195F,0.57332146F,0.09486747F,0.9892334F,0.6122911F,0.7344955F,0.93457204F,0.3720193F,0.4797526F,0.5434687F,0.48578447F,0.90112513F,0.48817497F,0.5220538F,0.016958058F,0.13825804F,0.3609258F,0.12027538F,0.9574285F,0.6683511F,0.20241618F,0.83870417F,0.2279911F,0.05432856F,0.46105516F,0.90989244F,0.8495406F,0.26780504F,0.022140324F,0.5632624F,0.67329806F,0.9895479F,0.92526454F,0.92674726F,0.7922192F,0.32458138F,0.5227554F,0.16824782F,0.14661074F,0.5944764F,0.7972463F,0.055426F,0.5600089F,0.46634293F,0.42150348F,0.046518624F,0.7318442F,0.22014463F,0.24651307F,0.72885424F,0.884806F,0.112133205F,0.6596014F,0.63484704F,0.8962348F,0.6845221F,0.46869266F,0.5048132F,0.92902905F,0.32518214F,0.087982416F,0.07750863F,0.17881638F,0.17446601F,0.16124004F,0.69646096F,0.24647588F,0.5906961F,0.8391882F,0.97471434F,0.4701138F,0.25595844F,0.5951058F,0.5924134F,0.96551746F,0.7673207F,0.22675025F,0.96872544F,0.05178666F,0.3062619F,0.95231247F,0.088068485F,0.61775506F};
for(float f1 : fs) {
for(float f2 : fs) {
System.out.println(f1+f2);
}
}
System.out.println("==== DOUBLE ====");
double[] ds = {Double.MIN_VALUE,Double.MAX_VALUE,Double.NaN,Double.NEGATIVE_INFINITY,Double.POSITIVE_INFINITY,0.09661652929239561,0.8798455738680219,0.7616592093464115,0.5192284518894886,0.24231840629492118,0.19389751553323364,0.8263844009174589,0.5485322225517479,0.17895624676576571,0.02203923989636858,0.7484649393860892,0.9444652249916725,0.7560981185505029,0.6173822751449667,0.10861414011497117,0.9457481544191695,0.4598369880502309,0.523063194922067,0.27733763443300663,0.2573348842522234,0.6293778996432382,0.7146733393847454,0.4276883104473964,0.9801637276942438,0.6817705952531339,0.44999923220142524,0.5309744769759828,0.11084456788499397,0.2155454391794891,0.39629469683348384,0.9742456034639171,0.07847531535326124,0.06420600940855203,0.12581316362814376,0.5917002149994987,0.38441427321307564,0.7269773920027083,0.9970871649010141,0.7117313368563606,0.9157175129528567,0.11690359461310562,0.7724489008024096,0.2871446482352994,0.9140833298496416,0.2353340208384841,0.06154467512620465,0.29815515720992336,0.8995285864462792,0.20703296990245224,0.8261026259967459,0.39608842209257544,0.07165484630344399,0.09159274213836188,0.732971788191492,0.19028274437944803,0.8412443519795093,0.024524999154940108,0.10045848421906689,0.6715085851472165,0.18105952488783228,0.5353514954924598,0.5472428137324736,0.012292960333232239,0.42710197381570514,0.3402094722026874,0.22366699288009517,0.387855041970381,0.01021978160145609,0.5129335461595967,0.6819445826785554,0.5209315910084171,0.35283496164549,0.7012697905382328,0.02484720538482088,0.3695893050228132,0.8266956776182277,0.9738247528436632,0.9616836867895575,0.7491928334472929,0.23494030953917833,0.9585455872999987,0.7958941902336101,0.7080166252410832,0.755393919429672,0.164974545186501,0.17033933160401904,0.16055983322076106,0.6618995569873544,0.7702149600031576,0.6043728992055417,0.6234429124927654,0.42662096489066326,0.6924920975914387,0.471043548786681,0.8958358043878998,0.9986344237132575,0.47638722334740335,0.08327977014274646,0.17968744357034194,0.15276176788315698,0.37026847446117395,0.9846694000008251,0.4445963589950399,0.8074786720435163,0.9891375550944157,0.3734530708531003,0.8079830594734909,0.12186502748556427,0.12505661344375696,0.8276089704470142,0.3232949583429081,0.9989474818200376,0.592514867029609,0.1444136649261717,0.8472945143734203,0.34641672023153525,0.4775398994186263,0.15962204496423082,0.5920523588944026,0.07558510502050098,0.7970539834283129,0.8694169899129396,0.5580867301629686,0.35558263978476734,0.368920771133356,0.042536884855350454,0.2921613317522085,0.08217276307310051,0.6433234962938804,0.7804978765101168,0.3165739393611011,0.8692015363490917,0.352560627313128,0.160584214399783,0.13633807247120322,0.1255772932626611,0.09904058095354329,0.17928918546410944,0.9464810753947511,0.9418099452189012,0.4202022729879116,0.7031458873692825,0.033751319364535015,0.5775225146643532,0.4442837762010644,0.029395644966289103,0.39534851968650353,0.3149800360188538,0.9823061058041374,0.960699230751051,0.2818606641235524,0.32356384235387603,0.7893353925516164,0.006104155827251101,0.21241173593442564,0.966251728500106,0.7720312458129479,0.43473863285168324,0.5070950952622096,0.6715481128797496,0.11968442613806496,0.4292116864314136,0.5350866104398985,0.09294014567168896,0.692393128876775,0.5124550973145969,0.6864032656567047,0.7828392615052977,0.5127213065379601,0.7547522557276303,0.5410922747389123,0.019100045015056355,0.8761284915148437,0.00695574000642607,0.8317064427345917,0.7395915087321557,0.42065598935976634,0.551403835684529,0.5732421325351346,0.7639280526912535,0.4777990065590363,0.11380374913934932,0.1692855953312168,0.611351091493658,0.16419023758989237,0.1373569918412132,0.3939348448384692,0.25988414032306273,0.9676652350481892,0.5846606887272806,0.8961337918345598,0.1342678910561329,0.031475699386601774,0.30342586241404046,0.27637597295567506};
for(double d1 : ds) {
for(double d2 : ds) {
System.out.println(d1+d2);
}
}
}
}