{"_id":"intn","_rev":"34-a36b6b59a7e90b0a541760a9aee7d37a","name":"intn","description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"intn","version":"0.1.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","make":"npm run-script build && npm run-script compile && npm test"},"gitHead":"a3ef720628f0aab9536656ea0d842c84cddd8f38","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.1.0","_shasum":"c97eb793e82d4e45c92b9a51947adf541b46fe5e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"c97eb793e82d4e45c92b9a51947adf541b46fe5e","tarball":"https://registry.npmjs.org/intn/-/intn-0.1.0.tgz","integrity":"sha512-zcyQA+H3PN4KB4ORf+oSQZ6GZgS7jlUwNeJSDZQ+z7YQQUnz+HJ+mlLcITwnlHd/uWOeS/Wg6snXzHFHZOSmLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYUaYLYa0EEWRFb0TN9+2aOkTzEnOvGizckbT3otn2/AIhAPKNihLek4vVutdwpdLz7h98g0nWx6VxTpq1JXY8dqc3"}]}},"0.2.0":{"name":"intn","version":"0.2.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","make":"npm run-script build && npm run-script compile && npm test"},"gitHead":"95169678950511ec88cdbce8eca3b2b193cc4a30","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.2.0","_shasum":"0a5bc9f9afabf87778919a94c4d5228bbe1d1bfb","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"0a5bc9f9afabf87778919a94c4d5228bbe1d1bfb","tarball":"https://registry.npmjs.org/intn/-/intn-0.2.0.tgz","integrity":"sha512-Bj9P7kSUqihz3j1F8kS+euzBdx9QQsD2XV4a6on7x9lO/RLUrQDymRePlEbudB9WLlrhRWKDJNWtjI06kfp+cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAG6mvgRYAXFaiF/6ZgX7eUEiUDcHVEz1Jtvb5G5PnOQIhALH1fdylROJ3CHyFwewK/3X/I48vL2M+d+ZQUfNXtwTs"}]}},"0.4.0":{"name":"intn","version":"0.4.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"406d3cef48b988973c4d1dadffd420885764d3ff","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.4.0","_shasum":"ed8020539bf04bd4f0ac607f060d91bfb0a2bfdd","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"ed8020539bf04bd4f0ac607f060d91bfb0a2bfdd","tarball":"https://registry.npmjs.org/intn/-/intn-0.4.0.tgz","integrity":"sha512-p0f76uX0zgsDQCNyH96fldhURlkynCUjVpvnaeavXgH3C/EpEUyNoXpDIw+U04cVoXWCPnpdHvV6q5sm0dRMTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyWlzavGpWvuhyN3MM085AXWG1/lN0CYVgdATD/4gb5gIgP4A6C8QZZtNn2BivgP5HRSiRNoZ3iHokqrLvezrTzkw="}]}},"0.5.0":{"name":"intn","version":"0.5.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary byte size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","integer","long","short","arithmetic"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"8d9ed6b10abf259954e7aa198c60ba3c181cf8f0","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.5.0","_shasum":"476e027943cede5130619a836ce6fcf81558d12a","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"476e027943cede5130619a836ce6fcf81558d12a","tarball":"https://registry.npmjs.org/intn/-/intn-0.5.0.tgz","integrity":"sha512-tsH7YaC7dm+VW2OxnYAJY7Xi4Asq+07z1hrTGnoHq3CgT1WO7k2TBI5CMuB/VxjXLBfRiTIlub8ODjbxatwfPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZycuw6vz/8OXDrAjvuIvlk2PISYcO94KiuGsy5kvHfAiAvczRNJkCu7rpPbnCevY1gITZcz40B50hVvWh3wez5BA=="}]}},"0.6.0":{"name":"intn","version":"0.6.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary byte size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"9cf122f2616f715cc1eeaa85464fe6ab0a3ead20","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.6.0","_shasum":"132396d3ce7ac32b319a86219688afe39a4ab26e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"132396d3ce7ac32b319a86219688afe39a4ab26e","tarball":"https://registry.npmjs.org/intn/-/intn-0.6.0.tgz","integrity":"sha512-OZwTb8Ce2PMVLIFkNwySU7y8e8w++0MDcqiE4SpwyP1j8c6cM/us+Bf/y2X3suYW2ZWzrv+yWAbnLKKRT1w5kA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhy/ZkATIDdB8VRxZQ+hfM6YqrPXSy0KNmLz/R4TqZyAiBav7ZpthD9om1EjCS2598mTRb0Q0G2h9TJKK+EOXA0Fg=="}]}},"0.7.0":{"name":"intn","version":"0.7.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary byte size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"2d60f67bc4a477e8550aa1738fbb8d5fee70917a","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.7.0","_shasum":"d235ee8eaa8b84ecdcdb8f1335015e3cb728afe0","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"d235ee8eaa8b84ecdcdb8f1335015e3cb728afe0","tarball":"https://registry.npmjs.org/intn/-/intn-0.7.0.tgz","integrity":"sha512-7GC+ELKuv6quV39BTrQmZ+7L5A8b8RDXEeLhb1UuzgiDlmi2lIoeSfuFP0UWJNrxiLre5+5K6s4TRJiL7+keZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDI+qz8Y+9kZedlYrwMoRGtekllNJdWTjlN0Rb+7tFIXwIhAMjDn5lPol0+8W4UYtHhoHgYgZzMl7TajHtq1cpdKKQi"}]}},"0.8.0":{"name":"intn","version":"0.8.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A class for representing arbitrary byte size integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"cp src/IntN.js dist/IntN.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"6be1519045c14cbfcb2f68377bb545007fb150f8","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.8.0","_shasum":"4b487dc1ee3f2cd09f3e3ab8d2dfeefe71ee482c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"4b487dc1ee3f2cd09f3e3ab8d2dfeefe71ee482c","tarball":"https://registry.npmjs.org/intn/-/intn-0.8.0.tgz","integrity":"sha512-yHaFGR0AKpfAWExktz/+fPFwDNc7MYm+5Gqrc8hn88T73WcYNSx7nQFJl9sQgIpaGfedOlgGfWdUj+Tvw4hE7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAgAOyTvMwMdlSHHXPLx2EtTMrm0n9tDhFowNP3p30wHAiEA8N6nJsdpKg2wSKx006T/Bwu5LiDYes/Nb1pp/bzqVBk="}]}},"0.9.0":{"name":"intn","version":"0.9.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"2374258491e7db2181965349e0b2526c321b9a5d","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.9.0","_shasum":"dafc7c7642517d726fa4aebe6e33f54814795577","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"dafc7c7642517d726fa4aebe6e33f54814795577","tarball":"https://registry.npmjs.org/intn/-/intn-0.9.0.tgz","integrity":"sha512-MW1Z/iPJZ19UmWG71RA6L7gB6Lw/y90SLxkJ3DYeZuHmze+YkS08d1G5nwxk/t6Yo0iN5xe82VapLINvGaSKgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1Uh778BIZ9Q8wBRJ/WJOAljLKsUMM/NdriVySIHClyAiAgu/Ax4vhLhV52rHoT2fVH0P4QbhARZP9ywmUD7Zga8w=="}]}},"0.9.1":{"name":"intn","version":"0.9.1","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"941af405cf62478f46702ebde632b0dab34f85df","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.9.1","_shasum":"f40e3c234021326060f74ce489b87f0bd4b4cc70","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"f40e3c234021326060f74ce489b87f0bd4b4cc70","tarball":"https://registry.npmjs.org/intn/-/intn-0.9.1.tgz","integrity":"sha512-lKyQm/fCw111ALLLlz0QRY9f4uc7gSuvCIRqid6qZ8TLFQeO4DxJK+bI4dq5tGWaQKYYOMNocSgZcGiQkIuZVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE49h05fJ55BslJ4jZssT2QbnuBqNCQCaSf7XlFsUqNgAiApY1n61d/ao+ED5eSVCv9RT8+ltXuDSOVjn3aSfDIIQg=="}]}},"0.9.2":{"name":"intn","version":"0.9.2","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"fa3e108c10a8f55f9fb7aefd0ff799053fdc4846","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.9.2","_shasum":"fedf980a00ebd1f846fb603491c47660664b9205","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"fedf980a00ebd1f846fb603491c47660664b9205","tarball":"https://registry.npmjs.org/intn/-/intn-0.9.2.tgz","integrity":"sha512-hIbHH215XY7cBDclGKiBZYc1JCvswgR1SijM/Ubr0CDCxQz6tbKXWkpSJr8PS87LFaqcMDNUa25KI7JUS++FFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjL4zPon5hvQfhR6uAw29EGoChbT8e9dTrLREPoOnrmgIhAN2pAs4UInWr7V+xuTisJlU8IBNClj0l0p/RA7CyQFZK"}]}},"0.10.0":{"name":"intn","version":"0.10.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"ce980f240d408420e0aee9d9fd4fc6c756256460","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.10.0","_shasum":"c34cb2a76a863743262d74ea2ad1fcf00f8c5fcb","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"c34cb2a76a863743262d74ea2ad1fcf00f8c5fcb","tarball":"https://registry.npmjs.org/intn/-/intn-0.10.0.tgz","integrity":"sha512-tFaL1baG560yC39bbH8XkHs/5nnCpg51nS+XH+tC2dz8AgWmn827KS6WhfXIVG+BWrF2T6RMCb1+Vg9UNudj4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgVxVLcNVxSQfTNqJvnWwu+wC8NqQ7NdQzuhVxEd//sAIgYzQTft40hP2xOyluc1BHIab0e/BbLEnKzKJ0lGKc3Tc="}]}},"0.11.0":{"name":"intn","version":"0.11.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"7ec36f47f6fce300fe547c29285d6fa7c2da72b0","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.11.0","_shasum":"cff0dc79b19832af281c38bf4e7470c3a28b8b54","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"cff0dc79b19832af281c38bf4e7470c3a28b8b54","tarball":"https://registry.npmjs.org/intn/-/intn-0.11.0.tgz","integrity":"sha512-r+oOPqnSJ9w6rDFW1o3W2kYJ5FqmH+GD/GbFaoH1JojNDOqRuwmSbkYE3EoghKC5CkRVC4Xm1UlKv9M/qF9hTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoeHYNHC+OX9UYywhD8TT8QBBKHh/ZpAwE7EHULzm0VQIgL9FS18twMX1sMT7swE/RVuyzrA8LPRyagU6GgjbIEFU="}]}},"0.12.0":{"name":"intn","version":"0.12.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"593a58c6d9e17447c64adddc4b76ca3ec669d34d","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.12.0","_shasum":"ec1607da947bb29eaf74638c07ed9be8067fc30c","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"ec1607da947bb29eaf74638c07ed9be8067fc30c","tarball":"https://registry.npmjs.org/intn/-/intn-0.12.0.tgz","integrity":"sha512-v3lLbzX6GgxrIuXO3krhMw40sKN+bLCiHXVBYgb5UJyGOozUSz4ImvJ5E0IhmgtvKh4vhT98R36iD4/rItz5BQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5jXMYsVh8ZK4pWueIKwVshAOxaQnu/EPJI2wE8jN3ZAiEA24CFxEE2/UuK0Gcwu69D7qDVy52ZU1BPyIKIwTEhrCg="}]}},"0.13.0":{"name":"intn","version":"0.13.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node node_modules/metascript/bin/metascript src/IntN.js >dist/IntN.js && node node_modules/metascript/bin/metascript src/IntN-embeddable.js >dist/IntN-embeddable.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"128d53483d41b7933435b04399c90832ee3f4b92","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.13.0","_shasum":"fdace3f12e501cd2ec0b13b22af5e7bf2d0accd7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"fdace3f12e501cd2ec0b13b22af5e7bf2d0accd7","tarball":"https://registry.npmjs.org/intn/-/intn-0.13.0.tgz","integrity":"sha512-eGDZCou8trl0HYScuXzfPZNFmLA2CwX30qPWZiFA4+M697BS2gNRaHfIq/W24huIVj112r3EEHt2jwAzK+O1GA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFXfmSRbw8udg2ejRgWuN2Fkjx447EA7Ot7xAOLE5/TtAiEAuT+W3YzI6kytQZeglqhs/fDhKrzgkX8YQjMTZ5iHFAE="}]}},"0.14.0":{"name":"intn","version":"0.14.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node scripts/build.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"e3004e89c7cbc2c65a93270938f3f87da1f31174","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@0.14.0","_shasum":"64323c6b76810ea766cfd70d9691dae00f449d26","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"64323c6b76810ea766cfd70d9691dae00f449d26","tarball":"https://registry.npmjs.org/intn/-/intn-0.14.0.tgz","integrity":"sha512-vRwxOYCv1t8CMMZZIyy0RnFxX6dcUNpt0qpsTX4EwAvk5NuJ6/uHs6gDLsFHnW1D6X2WG/lbVA1ARXR4mTj1YA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+twSUNY/xoDyu1flReDXQqHO3U/zU55LTUco8138hNAIgf+qEdm7OsPqEyuHuj2SpV9aG5srwa6isLfk2S6grXJQ="}]}},"1.0.0":{"name":"intn","version":"1.0.0","author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"description":"A library for representing and working with arbitrary byte size two's complement integers, signed and unsigned.","main":"index.js","repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"dependencies":{},"devDependencies":{"testjs":"latest","metascript":"~0","closurecompiler":"latest"},"license":"Apache-2.0","engines":{"node":">=0.6"},"scripts":{"test":"node node_modules/testjs/bin/testjs tests/suite.js","build":"node scripts/build.js","compile":"ccjs dist/IntN.js --compilation_level=ADVANCED_OPTIMIZATIONS --create_source_map=dist/IntN.min.map --source_map_format=V3 --externs=externs/minimal-env.js > dist/IntN.min.js","compress":"gzip -c -9 dist/IntN.min.js > dist/IntN.min.js.gz","make":"npm run-script build && npm run-script compile && npm run-script compress && npm test"},"gitHead":"f0ca9deff4c38430c865e5c62fa30c9dd8dfbdb5","bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"homepage":"https://github.com/dcodeIO/IntN.js","_id":"intn@1.0.0","_shasum":"be9371a30f9f3e91f1f2c3fef3bdb002e30675fa","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dcode","email":"dcode@dcode.io"},"maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"dist":{"shasum":"be9371a30f9f3e91f1f2c3fef3bdb002e30675fa","tarball":"https://registry.npmjs.org/intn/-/intn-1.0.0.tgz","integrity":"sha512-WgMxnQbXgOPWOiziVOhfw6TWy0EgplCszIzhZoRwGhegkZNTaG9LOJOGZ4+nkrEr+94Rsi+xRB7jFSFv6MBlBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh6GxraoUtN2hnv7avgx/6odQbrnzXDTzL36KOaaBNsQIhANTG9gL9EfRSUWORR8UGjtmN1ElnILMaa4jL/aAXmm8M"}]}}},"readme":"![IntN.js - Arbitrary byte size integers in JavaScript](https://raw.github.com/dcodeIO/IntN.js/master/IntN.png)\r\n=======\r\n**IntN.js** is a library for representing and working with arbitrary byte size two's complement integers in JavaScript,\r\nboth signed and unsigned. Its purpose is to provide a robust and convenient way to work with data types that are not\r\navailable in JavaScript natively, like 64 bit `long`s.\r\n\r\nUsage\r\n-----\r\nThe module exports a function that creates singleton classes representing integers of the specified size in bits\r\n(positive multiple of 8). It is compatible with CommonJS and AMD loaders and is exposed globally as `dcodeIO.IntN` if\r\nneither is available.\r\n\r\n```js\r\nvar IntN  = require(\"intn\");\r\n\r\nvar Int8  = IntN(8),\r\n    Int16 = IntN(16),\r\n    Int24 = IntN(24),\r\n    Int32 = IntN(32),\r\n    ...\r\n    Int64 = IntN(64),\r\n    ...\r\n```\r\n\r\n**Important:** The following API documentation references the usage of the classes created by the exported function.\r\n\r\nAPI\r\n---\r\nInstances are immutable and all methods that return another instance are chainable. Instance values are easily\r\ninterchangeable using their [bytes](#intnbytes-1) property or the [fromInts](#intnfromintsints-unsigned) and\r\n[toInts](#intntoints) methods.\r\n\r\n#### new IntN(bytes, unsigned=)\r\n\r\nConstructs a new IntN, where N is the number of bits represented by this class.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| bytes           | *!Array.&lt;number&gt; &#124; number* | Byte values, least significant first \r\n| unsigned        | *boolean*       | Whether unsigned or signed, defaults to `false` for signed \r\n\r\n---\r\n\r\n#### IntN.BITS\r\n\r\nNumber of bits represented by this IntN class.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *number*        |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.BYTES\r\n\r\nNumber of bytes represented by this IntN class.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *number*        |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.MAX_UNSIGNED_VALUE\r\n\r\nMaximum unsigned value.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.MAX_VALUE\r\n\r\nMaximum signed value.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.MIN_VALUE\r\n\r\nMinimum signed value.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.NEG_ONE\r\n\r\nNegative signed one.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.ONE\r\n\r\nSigned one.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.UONE\r\n\r\nUnsigned one.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.UZERO\r\n\r\nUnsigned zero.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.ZERO\r\n\r\nSigned zero.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!IntN*         |\r\n| **@access**     | *public const*  |\r\n\r\n#### IntN.add(augend, addend)\r\n\r\nAdds the specified IntNs. Does not type check arguments.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| augend          | *!IntN*         | Augend \r\n| addend          | *!IntN*         | Addend \r\n| **@returns**    | *!IntN*         | Sum \r\n\r\n#### IntN.divide(dividend, divisor)\r\n\r\nDivides the specified dividend by the specified divisor and returns both the quotient and the remainder. Does\r\nnot type check arguments.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| dividend        | *!IntN*         | Dividend \r\n| divisor         | *!IntN*         | Divisor \r\n| **@returns**    | *!{quotient: !IntN, remainder: !IntN}* | Quotient and remainder \r\n\r\n#### IntN.fromInt(value, unsigned=)\r\n\r\nConstructs an IntN from a 32 bit integer value.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| value           | *number*        | Integer value \r\n| unsigned        | *boolean*       | Whether unsigned or not, defaults to `false` for signed \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN.fromInts(ints, unsigned=)\r\n\r\nReassembles an IntN from an array of 32 bit integers, least significant first.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| ints            | *!Array.&lt;number&gt;* | Array of 32 bit integers \r\n| unsigned        | *boolean*       | Whether unsigned or not, defaults to `false` for signed \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN.fromNumber(value, unsigned=)\r\n\r\nConstructs an IntN from a number (double, 52 bit mantissa) value. This differs from [IntN.fromInt](#intnfromintvalue-unsigned) in\r\nusing arithmetic operations on numbers instead of logical operations on 32 bit integers, which works\r\nreliably up to a maximum positive or negative value of 2^53-1.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| value           | *number*        | Number value \r\n| unsigned        | *boolean*       | Whether unsigned or not, defaults to `false` for signed \r\n| **@returns**    | *!IntN*         | \r\n| **@see**        |                 | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER \r\n| **@see**        |                 | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER \r\n\r\n#### IntN.fromString(value, unsigned=, radix=)\r\n\r\nConverts a string using the specified radix to an IntN.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| value           | *string*        | String \r\n| unsigned        | *boolean &#124; number* | Whether unsigned or not, defaults to `false` for signed (omittable) \r\n| radix           | *number*        | Radix (2-36), defaults to 10 \r\n| **@returns**    | *!IntN*         | \r\n| **@throws**     | *RangeError*    | If `radix` is out of range \r\n| **@throws**     | *Error*         | If `value` contains illegal characters \r\n\r\n#### IntN.isIntN(obj)\r\n\r\nTests if an object is an N bit integer, where N is this class's number of bits.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| obj             | ***             | Object to test \r\n| **@returns**    | *boolean*       | `true` if it is an N bit integer, otherwise `false` \r\n\r\n#### IntN.multiply(multiplicand, multiplier)\r\n\r\nMultiplies the specified IntNs and returns the product. Does not type check arguments.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| multiplicand    | *!IntN*         | Multiplicand \r\n| multiplier      | *!IntN*         | Multiplier \r\n| **@returns**    | *!IntN*         | Product \r\n\r\n#### IntN.subtract(minuend, subtrahend)\r\n\r\nSubtracts the second from the first specified IntN. Does not type check arguments.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| minuend         | *!IntN*         | Minuend \r\n| subtrahend      | *!IntN*         | Subtrahend \r\n| **@returns**    | *!IntN*         | Difference \r\n\r\n#### IntN.valueOf(val)\r\n\r\nConverts the specified value to an IntN.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| val             | *!IntN &#124; number &#124; string &#124; !{bytes: !Array.&lt;number&gt;, unsigned: boolean} &#124; {low: number, high: number, unsigned: boolean}* | Value \r\n| **@returns**    | *!IntN*         | \r\n\r\n---\r\n\r\n#### IntN#bytes\r\n\r\nRepresented byte values, least significant first.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *!Array.&lt;number&gt;* |\r\n\r\n#### IntN#unsigned\r\n\r\nWhether unsigned or otherwise signed.\r\n\r\n|                 |                 |\r\n|-----------------|-----------------|\r\n| **@type**       | *boolean*       |\r\n\r\n#### IntN#absolute()\r\n\r\nReturns this IntN's absolute value as an unsigned IntN.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!IntN*         | Absolute \r\n\r\n#### IntN#add(addend)\r\n\r\nAdds the specified to this IntN.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| addend          | *!IntN &#124; number &#124; string* | Addend \r\n| **@returns**    | *!IntN*         | Sum \r\n\r\n#### IntN#and(other)\r\n\r\nPerforms a bitwise and (&) operation and returns the resulting Int.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other number \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#cast(TargetIntN, unsigned=)\r\n\r\nCasts this IntN of size N to the specified target IntN of size M.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| TargetIntN      | *!Function*     | Target IntN class \r\n| unsigned        | *boolean*       | Whether unsigned or not, defaults to this' [IntN#unsigned](#intnunsigned) \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#compare(other)\r\n\r\nCompares this IntN with the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *number*        | `0` if both are the same, `1` if this is greater and `-1` if the specified is greater \r\n\r\n#### IntN#divide(divisor)\r\n\r\nDivides this IntN by the specified and returns the quotient.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| divisor         | *!IntN &#124; number &#124; string* | Divisor \r\n| **@returns**    | *!IntN*         | Quotient \r\n\r\n#### IntN#equals(other)\r\n\r\nTests if this IntN equals the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#greaterThan(other)\r\n\r\nTests if this IntN is greater than (&gt;) the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#greaterThanEqual(other)\r\n\r\nTests if this IntN is greater than or equal (&gt;=) the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isEven()\r\n\r\nTests if this IntN is even.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isNegative()\r\n\r\nTests if this IntN is (signed and) negative.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isOdd()\r\n\r\nTests if this IntN is odd.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isPositive()\r\n\r\nTests if this IntN is (unsigned or) positive.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isSet(i)\r\n\r\nEvaluates the bit at the specified position. Using this method is usually much faster than alternative ways.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| i               | *number*        | Position (0 to (N-1)) \r\n| **@returns**    | *boolean*       | `true` if the bit is 1, `false` if it is 0 \r\n\r\n#### IntN#isSigned()\r\n\r\nTests if this IntN is signed.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isUnsigned()\r\n\r\nTests if this IntN is unsigned.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#isZero()\r\n\r\nTests if this IntN is zero.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#lessThan(other)\r\n\r\nTests if this IntN is less than (&lt;) the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#lessThanEqual(other)\r\n\r\nTests if this IntN is less than or equal (&lt;=) the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#modulo(divisor)\r\n\r\nDivides this IntN by the specified and returns the remainder.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| divisor         | *!IntN &#124; number &#124; string* | Divisor \r\n| **@returns**    | *!IntN*         | Remainder \r\n\r\n#### IntN#multiply(multiplier)\r\n\r\nMultiplies this IntN with the specified and returns the product.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| multiplier      | *!IntN &#124; number &#124; string* | Multiplier \r\n| **@returns**    | *!IntN*         | Product \r\n\r\n#### IntN#negate()\r\n\r\nNegates this IntN (*-1).\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!IntN*         | Negation \r\n\r\n#### IntN#not()\r\n\r\nPerforms a bitwise not (~) operation and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#notEquals(other)\r\n\r\nTests if this IntN does not equal the specified.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other value \r\n| **@returns**    | *boolean*       | \r\n\r\n#### IntN#or(other)\r\n\r\nPerforms a bitwise or (&#124;) operation and returns the resulting Int.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other number \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#set(i, isSet)\r\n\r\nSets the bit at the specified position and returns the result. Using this method is usually much faster than\r\nalternative ways.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| i               | *number*        | Position (0 to (N-1)) \r\n| isSet           | *boolean*       | `true` to set the bit to 1, `false` to set it to 0 \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#shiftLeft(numBits)\r\n\r\nPerforms a shift left (&lt;&lt;) operation and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| numBits         | *!IntN &#124; number* | Number of bits \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#shiftRight(numBits, logical=)\r\n\r\nPerforms a shift right (&gt;&gt;, &gt;&gt;&gt;) operation and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| numBits         | *!IntN &#124; number* | Number of bits \r\n| logical         | *boolean*       | Whether to perform a logical (&gt;&gt;&gt;) shift right, defaults to `false` for an arithmetic shift right (&gt;&gt;) \r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#shiftRightUnsigned(numBits)\r\n\r\nPerforms an unsigned shift right (&gt;&gt;&gt;) operation and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| numBits         | *!IntN &#124; number* | Number of bits \r\n| **@returns**    | *!IntN*         | Shifted \r\n\r\n#### IntN#size()\r\n\r\nReturns the number of bits required to fully represent this IntN's value.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *number*        | Shift of the most significant bit (0 to N) \r\n\r\n#### IntN#subtract(subtrahend)\r\n\r\nSubtracts the specified from this IntN and returns the difference.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| subtrahend      | *!IntN &#124; number &#124; string* | Subtrahend \r\n| **@returns**    | *!IntN*         | Difference \r\n\r\n#### IntN#toDebug(addSpaces=)\r\n\r\nConverts this IntN to its full binary representation. This returns N (number of bits) binary digits for\r\ntesting and debugging, followed by the character `U` if unsigned.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| addSpaces       | *boolean*       | Whether to insert spaces between bytes, defaults to `false` \r\n| **@returns**    | *string*        | \r\n\r\n#### IntN#toInt(unsigned=)\r\n\r\nConverts this IntN to a 32 bit integer.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| unsigned        | *boolean*       | Whether unsigned or not, defaults to this' [IntN#unsigned](#intnunsigned) \r\n| **@returns**    | *number*        | \r\n\r\n#### IntN#toInts()\r\n\r\nDisassembles this IntN into an array of 32 bit integers, least significant first.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!Array.&lt;number&gt;* | \r\n\r\n#### IntN#toNumber()\r\n\r\nConverts this IntN to a number (double, 52 bit mantissa) value. This differs from [IntN#toInt](#intntointunsigned) in using\r\narithmetic operations on numbers instead of logical operations on 32 bit integers, which works reliably up\r\nto a maximum positive or negative value of 2^53-1. A maximum of 56 bits is evaluated.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *number*        | \r\n| **@see**        |                 | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER \r\n| **@see**        |                 | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER \r\n\r\n#### IntN#toSigned()\r\n\r\nConverts this IntN to signed and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#toString(radix)\r\n\r\nConverts this IntN to a string of the specified radix.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| radix           | *!IntN &#124; number &#124; string* | Radix (2-36), defaults to 10 \r\n| **@returns**    | *string*        | \r\n| **@throws**     | *RangeError*    | If `radix` is out of range \r\n\r\n#### IntN#toUnsigned()\r\n\r\nConverts this IntN to unsigned and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| **@returns**    | *!IntN*         | \r\n\r\n#### IntN#xor(other)\r\n\r\nPerforms a bitwise xor (^) operation and returns the result.\r\n\r\n| Parameter       | Type            | Description\r\n|-----------------|-----------------|---------------\r\n| other           | *!IntN &#124; number &#124; string* | Other number \r\n| **@returns**    | *!IntN*         | \r\n\r\n---\r\n\r\n### Aliases\r\n\r\nMost of the methods have a couple of aliases to maintain compatibility with other libraries, to make it more convenient\r\nto use or simply to keep your code small:\r\n\r\n##### General utility:\r\n\r\n* **isIntN**: isInt[NBITS] with [NBITS] being the number of bits provided to IntN (e.g. 32)\r\n\r\n##### Arithmetic evaluation:\r\n\r\n* **compare**: comp\r\n* **equals**: eq, equal, ==\r\n* **notEquals**: ne, notEqual, !=\r\n* **lessThan**: lt, less, &lt;\r\n* **lessThanEqual**: lte, lessThanOrEqual, &lt;=\r\n* **greaterThan**: gt, greater, &gt;\r\n* **greaterThanEqual**: gte, greaterThanOrEqual, &gt;=\r\n\r\n##### Bitwise operations:\r\n\r\n* **not**: ~\r\n* **and**: &\r\n* **or**: |\r\n* **xor**: ^\r\n* **shiftLeft**: lsh, leftShift, &lt;&lt;\r\n* **shiftRight**: rsh, rightShift, &gt;&gt;\r\n* **shiftRightUnsigned**: rshu, rightShiftUnsigned, &gt;&gt;&gt;\r\n\r\n##### Arithmetic operations:\r\n\r\n* **add**: plus, +\r\n* **negate**: neg, !\r\n* **subtract**: sub, minus, -\r\n* **absolute**: abs, ||\r\n* **multiply**: mult, *\r\n* **divide**: div, /\r\n* **modulo**: mod, %\r\n\r\nIf you like it rather formal:\r\n\r\n```js\r\nvar a = Int32.fromNumber(1),\r\n    b = Int32.fromNumber(2);\r\n    \r\nvar c = a['+'](b)['/'](3);\r\n```\r\n\r\nDownloads\r\n---------\r\n* [ZIP-Archive](https://github.com/dcodeIO/IntN.js/archive/master.zip)\r\n* [Tarball](https://github.com/dcodeIO/IntN.js/tarball/master)\r\n* [Distributions](https://github.com/dcodeIO/IntN.js/tree/master/dist)\r\n\r\n**License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\r\n","maintainers":[{"name":"dcode","email":"dcode@dcode.io"}],"time":{"modified":"2022-06-19T01:50:52.683Z","created":"2014-08-03T01:12:20.597Z","0.1.0":"2014-08-03T01:12:20.597Z","0.2.0":"2014-08-03T20:07:02.115Z","0.4.0":"2014-08-03T22:22:21.659Z","0.5.0":"2014-08-04T16:15:13.649Z","0.6.0":"2014-08-04T21:19:37.166Z","0.7.0":"2014-08-04T22:55:35.186Z","0.8.0":"2014-08-04T23:31:56.782Z","0.9.0":"2014-08-05T01:23:37.735Z","0.9.1":"2014-08-05T01:52:40.466Z","0.9.2":"2014-08-05T02:43:45.458Z","0.10.0":"2014-08-05T13:39:08.131Z","0.11.0":"2014-08-06T00:50:07.882Z","0.12.0":"2014-08-06T19:17:30.292Z","0.13.0":"2014-08-06T22:36:55.941Z","0.14.0":"2014-08-07T15:04:00.622Z","1.0.0":"2014-08-07T18:53:25.885Z"},"homepage":"https://github.com/dcodeIO/IntN.js","keywords":["math","byte","short","integer","long","bitwise","arithmetic","signed","unsigned"],"repository":{"type":"git","url":"https://github.com/dcodeIO/IntN.js.git"},"author":{"name":"Daniel Wirtz","email":"dcode@dcode.io"},"bugs":{"url":"https://github.com/dcodeIO/IntN.js/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}