Message361651
[Larry]
> It takes *30* bits to store the non-fractional seconds part of the current time in a double
I make it 31. :-)
>>> from datetime import datetime
>>> time_since_epoch = datetime.now() - datetime(1970, 1, 1)
>>> int(time_since_epoch.total_seconds()).bit_length()
31 |
|
Date |
User |
Action |
Args |
2020-02-09 14:42:49 | mark.dickinson | set | recipients:
+ mark.dickinson, lemburg, rhettinger, vstinner, larry, stutzbach, serhiy.storchaka, vxgmichel |
2020-02-09 14:42:49 | mark.dickinson | set | messageid: <1581259369.2.0.905718947899.issue39484@roundup.psfhosted.org> |
2020-02-09 14:42:49 | mark.dickinson | link | issue39484 messages |
2020-02-09 14:42:49 | mark.dickinson | create | |
|