Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
long int computations
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mark Dickinson, post: 4069049"] And if for some reason you don't want to use the 'from __future__' import, then you can do long1.__truediv__(long2): 1.0 If you care about speed at all, I'd avoid the Fractions solution; it does an expensive and slow gcd computation. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
long int computations
Top