bn
Version:
JS Bigint import
166 lines (165 loc) • 5.35 kB
JSON
[
{
"dec" : "105183232487620749150105076796411137885612095352649009204141488890",
"hex" : "ffafafafafffafafafafafafafafaffafafafaffafafafafaffafa",
"binary" : {
"term" : "5338070566211029537186367662343635795631",
"results" : {
"divide" : "19704354070066174623541440"
}
}
},
{
"dec": "229891891649243031202316587505358006929",
"hex": "acf3915bfd831e422c97c6c36a78ea91",
"unary": {
"signum": {
"result": "1"
},
"bitLength": {
"result": 128
},
"pow": {
"args": [
3
],
"result": "12149851267788059177463774748207199757548772786422208190884884358149851976164598026469476248940951704560305702503089"
},
"shiftLeft": {
"args": [
3
],
"result": "1839135133193944249618532700042864055432"
},
"shiftRight": {
"args": [
3
],
"result": "28736486456155378900289573438169750866"
},
"square": {
"result": "52850281846067297744861641329319679717840549375219107203381977813251212011041"
},
"testBit": {
"args": [
64
],
"result": false
}
},
"binary": {
"term": "27007850920266570088725416397760483561",
"results": {
"divide": "8",
"compareTo": [ "1", "10002956" ],
"add": "256899742569509601291042003903118490490",
"mod": "13829084287110470492513256323274138441",
"modInverse": "5136022155839969873468946829700334052",
"multiply": "6208885937440831019515267281863369302780507589343211993248978978502228594169",
"subtract": "202884040728976461113591171107597523368"
}
}
},
{
"dec": "490701241078624462195409378484496932915350407101",
"hex": "55f3cdfe12d24849c75bdb7fc2704c382af907bd",
"unary": {
"bitLength": {
"result": 159
},
"pow": {
"args": [
3
],
"result": "118154827150164837275616720199701340234590049094867179596937943008626162969467633115265015413316093538497152025452098759905628367182503153451301"
},
"shiftLeft": {
"args": [
3
],
"result": "3925609928628995697563275027875975463322803256808"
},
"shiftRight": {
"args": [
3
],
"result": "61337655134828057774426172310562116614418800887"
},
"signum": {
"result": "1"
},
"square": {
"result": "240787707996102323350671739106280047028893104010568232124124186735687939084637396043966431224201"
},
"testBit": {
"args": [
64
],
"result": true
}
},
"binary": {
"term": "387552020168729810004207236368971589233930434041",
"results": {
"add": "878253261247354272199616614853468522149280841142",
"compareTo": "1",
"divide": "1",
"mod": "103149220909894652191202142115525343681419973060",
"modInverse": "235152901383068743144338660413685036680112108930",
"multiply": "190172257279323816321269536033960416766727056148592941565164984865333639342274033733742978525141",
"subtract": "103149220909894652191202142115525343681419973060"
}
}
},
{
"dec": "101697921761909654222690701334482309860413762802427666847567436346204679706732",
"hex": "e0d6fbe11d315db02500a52d7ef42c15e6e07788c443036981dfd25f54e2186c",
"unary": {
"bitLength": {
"result": 256
},
"pow": {
"args": [
3
],
"result": "1051807429353853597832844242990869492652824533236122313348376594672384268850673765073239982768135199616971893722541919235383066318419560256035949922775874173590415861238057283639850867626928875572630294385257263370212305886211455168"
},
"shiftLeft": {
"args": [
3
],
"result": "813583374095277233781525610675858478883310102419421334780539490769637437653856"
},
"shiftRight": {
"args": [
3
],
"result": "12712240220238706777836337666810288732551720350303458355945929543275584963341"
},
"signum": {
"result": "1"
},
"square": {
"result": "10342467290691497229059351901237659503300418164168932791535853969730985829237713599982870867065893741188006353472411036746768035353826609144891897526119824"
},
"testBit": {
"args": [
64
],
"result": true
}
},
"binary": {
"term": "65942635406350954468277743244650357992528241658403170087048934261572991853681",
"results": {
"add": "167640557168260608690968444579132667852942004460830836934616370607777671560413",
"compareTo": [ "1", "1295153" ],
"divide": "1",
"mod": "35755286355558699754412958089831951867885521144024496760518502084631687853051",
"modInverse": "59174217759958506263535767481212987808590692586894030343742197030672530958968",
"multiply": "6706228976329212806775323786532344022737471799348149801121032823544329361747450975162606839440452308498537966660800554617999916099539420239249252134680492",
"subtract": "35755286355558699754412958089831951867885521144024496760518502084631687853051"
}
}
}
]