in reply to Re: Turning very larger numbers into an array of bits
in thread Turning very larger numbers into an array of bits
If you use Math::GMP, there's gmp_tstbit
Yes, I'd be using the gmp library (accessed either via Math::GMPz or Math::GMP).
Math::BigInt doesn't seem to have an efficient way to fetch a particular bit
Math::BigInt works with base 10 representations of numbers, which makes it less than ideal for determining values of particular bits.
Cheers,
Rob