Mpmath uses binary represents of mpf (arbitrary precision floats). Is there an easy way to access that bit array?
I can probably multiply it so that it becomes an integer and then use %2
or bit shift operations, but this will cause rounding errors.