On 07/09/2019 19.12, Terry Reedy wrote: >>>> (-80538738812075974)**3 + 80435758145817515**3 + > 12602123297335631**3 == 42 > True # Impressively quickly, in a blink of an eye.
Yeah. When I saw the video, I tried it as well. Python's arbitrary-sized integer arithmetic is truly amazing! In fact, I ended up writing a tiny program to cube its arguments and report the sum. Took about 40 ms to run, no matter the size of the arguments, which tells me that the only cost is the fixed overhead. -- Michael F. Stemper This sentence no verb. -- https://mail.python.org/mailman/listinfo/python-list