擅长:python、mysql、java
<p>我什么也找不到。
你可以做一个。<a href="http://docs.python.org/extending/extending.html" rel="nofollow">http://docs.python.org/extending/extending.html</a></p>
<p>快速搜索c中的分数得到了<a href="http://www.spiration.co.uk/post/1400/fractions-in-c -a-rational-arithmetic-library" rel="nofollow">http://www.spiration.co.uk/post/1400/fractions-in-c -a-rational-arithmetic-library</a>。使用第二个帖子,它也处理负数。在</p>
<p>但这可能不是你需要的,你可以找到其他的东西。如果你不想扩展python,如果你找不到任何一个拥有cFractions模块的人,你就必须坚持使用分数。我很抱歉。在</p>