Published in: Python
URL: http://gmpy.sourceforge.net/
import gmpy num = gmpy.mpq(5,2) num2 = gmpy.mpq(10,2) print(num+num2)
You need to login to post a comment.
Learning Python
The authors of Learning Python show you enough essentials of the Python scripting language to enable you to begin solving problems right away, then reveal more powerful aspects of the language one at a time. This approach is sure to appeal to programmers and system administrators who have urgent problems and a preference for learning by semi-guided experimentation.
buscarini on 08/07/06
1 person has marked this snippet as a favorite
Published in: Python
URL: http://gmpy.sourceforge.net/
import gmpy num = gmpy.mpq(5,2) num2 = gmpy.mpq(10,2) print(num+num2)
You need to login to post a comment.