Open GoogleCodeExporter opened 8 years ago
thanks for reporting!
since by default, integers become 32-bit signed after compilation with
shedskin, 2**64 becomes 0.. leading the program to calculate '1 % 0'
((a+b)%SZ), which leads to an exception with regular python as well. a
different exception though, so we have to fix that.
unfortunately we can't use shedskin -l here either, since 2**64 doesn't fit as
64-bit signed either. but perhaps with a minor change in your code things might
fit up to reasonable values..?
Original comment by mark.duf...@gmail.com
on 19 Dec 2013 at 7:45
I was trying to see how long the program at
http://jabsoft.io/2013/08/29/why-c-still-matters-in-2013-a-simple-example/
takes under ShedSkin.
What about using an unsigned long long if the value is constant and
non-negative?
Original comment by Rym...@gmail.com
on 19 Dec 2013 at 10:13
Original issue reported on code.google.com by
Rym...@gmail.com
on 18 Dec 2013 at 10:17Attachments: