**Up to [cvs.NetBSD.org] / pkgsrc / math / p5-Math-Prime-Util**

Request diff between arbitrary revisions

Default branch: MAIN

Current tag: pkgsrc-2017Q4

Revision **1.17** / (**download**) - annotate - [select for diffs], *Sun Dec 3 08:41:29 2017 UTC* (21 months, 2 weeks ago) by *wiz*

Branch: **MAIN
**

CVS Tags: **pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4
**

Changes since **1.16: +5 -5
lines**

Diff to previous 1.16 (colored)

p5-Math-Prime-Util: update to 0.70. 0.70 2017-12-02 [FIXES] - prime_count(a,b) incorrect for a={3..7} and b < 66000000. First appeared in v0.65 (May 2017). Reported by Trizen. Fixed. - Also impacted were nth_ramanujan_prime and _lower/_upper for small input values. [FUNCTIONALITY AND PERFORMANCE] - Some utility functions used prime counts. Unlink for more isolation. - prime_count_approx uses full precision for bigint or string input. - LogarithmicIntegral and ExponentialIntegral will try to use our GMP backend if possible. - Work around old Math::BigInt::FastCalc (as_int() doesn't work right). - prime_memfree also calls GMP's memfree function. This will clear the cached constants (e.g. Pi, Euler). - Calling srand or csrand will also result in the GMP backend CSPRNG functions being called. This gives more consistent behavior. [OTHER] - Turned off threads testing unless release or extended testing is used. A few smokers seem to have threads lib that die before we event start. - Removed all Math::MPFR code and references. The latest GMP backend has everything we need. - The MPU_NO_XS and MPU_NO_GMP environment variables are documented.

CVSweb <webmaster@jp.NetBSD.org>