testBit package:ghc-bignum

BigNat bit test
BigNat bit test
Test if n-th bit is set. For negative Integers it tests the n-th bit of the negated argument. Fake 2's complement for negative values (might be slow)
Test if n-th bit is set. Fake 2's complement for negative values (might be slow)