gmp/mpir、mpfr和mpc接口到python 2.6+和3.x

gmpy2的Python项目详细描述


gmpy2是一个c编码的python扩展模块,支持多精度算法。除了支持gmp或mpir的多精度整数和有理数运算外,gmpy2还增加了对mpfr(正确舍入的实数浮点运算)和mpc(正确舍入的复杂浮点运算)库的支持。

2.0.8版有以下修复程序:

  1. Fix reference counting bug in left shift and right shift.
  2. Fix crash when converting string to mpfr and subnormalization is active.
  3. Fix int(mpfr) for negative values.
  4. Fix data corruption bug when using pack() on a list that contains instances of the mpz type.

2.0.7版有以下修复程序:

  1. math.floor(gmpy2.mpfr(‘inf’)) no longer segfaults.
  2. The “wheel” format is used for the Windows binaries.

2.0.6版有以下修复程序:

  1. setup.py no longer changes the meaning of –prefix.
  2. Using the ‘X’ format code now works properly (convert to hex using upper-case letters).

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java PUT请求提供415不支持的媒体类型   JavaMockito:如何在不模拟所有参数的情况下轻松地存根一个方法   java如何将NameValuePair传递给安卓中的另一个活动?   servalet java中的tomcat错误   java Android手机无法连接到eclipse   nullpointerexception在Java中如何将null转换为false?   Java中的http代理身份验证   java如何确保最新版本的JAR与JNLP应用程序一起使用?   简单Java代码上的性能大内存占用   列出AWS EC2实例上运行的服务上的对象时,java 403访问被拒绝   java创建一个类,当创建一个新实例时,它会被添加到一个hasmap中   LookupService中的java getLocation方法返回null   java获取要在ListView中显示的ArrayList字符串编号/位置