Author tim.peters
Recipients PedanticHacker, Stefan Pochmann, mark.dickinson, mcognetta, pablogsal, rhettinger, serhiy.storchaka, tim.peters
Date 2021-12-22.03:37:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640144230.48.0.491068598788.issue37295@roundup.psfhosted.org>
In-reply-to
Content
I see no use of 128-bit ints in the CPython core. Advice: forget it. 

int64_t and uint64_t are required by C99, and are used many places in the core. Advice: use freely.

Note that if tables of "odd part mod 2**64" and "number of trailing zeroes" are used up through 67, then factorials up through 25! are trivially computed via

Fodd[i] << Fntz[i]


(at 26, the odd part no longer fits in 64 bits)
History
Date User Action Args
2021-12-22 03:37:10tim.peterssetrecipients: + tim.peters, rhettinger, mark.dickinson, serhiy.storchaka, PedanticHacker, mcognetta, Stefan Pochmann, pablogsal
2021-12-22 03:37:10tim.peterssetmessageid: <1640144230.48.0.491068598788.issue37295@roundup.psfhosted.org>
2021-12-22 03:37:10tim.peterslinkissue37295 messages
2021-12-22 03:37:10tim.peterscreate