Hi,
Is there a quick way to get the number of bits required to store the value in a Decimal class?
What obvious thing am I missing? I'm working with really large integers, say, in the order of 5_000_000 of ASCII base 10 digits.
It seems the function mpd_sizeinbase would be a nice thing to be able to call.....
It'd be nice to just be able to tell the "size of data", or something like that, that was stored in the *data? I note there is len "field" in the structure mpd_t
Sorry for the dumb question....
Thanks,Duncan
--
https://mail.python.org/mailman/listinfo/python-list
Is there a quick way to get the number of bits required to store the value in a Decimal class?
What obvious thing am I missing? I'm working with really large integers, say, in the order of 5_000_000 of ASCII base 10 digits.
It seems the function mpd_sizeinbase would be a nice thing to be able to call.....
It'd be nice to just be able to tell the "size of data", or something like that, that was stored in the *data? I note there is len "field" in the structure mpd_t
Sorry for the dumb question....
Thanks,Duncan
--
https://mail.python.org/mailman/listinfo/python-list