Re: [Boston.pm] copying a bigint into an array of "normal" bits

2018-08-28 Thread Morse, Richard E.,MGH via Boston-pm
Have you looked at the “BigInt API”? According to the `bigint` docs, integers have now become objects that you can manipulate using that API. Of course, there isn’t a link, but I think if you look at Math::BigInt, it’s probably correct. A quick look through suggests: $bigintparam->as

Re: [Boston.pm] copying a bigint into an array of "normal" bits

2018-08-28 Thread Morse, Richard E.,MGH via Boston-pm
Have you looked at the “BigInt API”? According to the `bigint` docs, integers have now become objects that you can manipulate using that API. Of course, there isn’t a link, but I think if you look at Math::BigInt, it’s probably correct. A quick look through suggests: $bigintparam->as

[Boston.pm] copying a bigint into an array of "normal" bits

2018-08-28 Thread Greg London
I have a function in a module that I would like to receive a bigint as a parameter. But the first thing I want the function to do is take the bigint and unpack it into an array of not-bigint bits. When I use bigint, everything seems to be a bigint. But I'm working with some existing data struct