Closed aflin closed 3 years ago
var JSBI =require('jsbi'); a = JSBI.BigInt('-2562362345234747635679540932095783458054366'); b=JSBI.asUintN(20, a); c=JSBI.asIntN(20, a); console.log(b.toString()); console.log(c.toString()); /* output: 515874 515874 */
Or maybe I don't understand how it is supposed to work.
Sorry. Apparently I don't know how it works.
Or maybe I don't understand how it is supposed to work.