[libmath-prime-util-perl] 01/02: Document API changes from upsteam in NEWS.Debian file

Salvatore Bonaccorso carnil at debian.org
Sun May 22 09:06:01 UTC 2016


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to branch master
in repository libmath-prime-util-perl.

commit 32882ef858f7aa968038fdcd3becf2239240123d
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sun May 22 11:04:56 2016 +0200

    Document API changes from upsteam in NEWS.Debian file
---
 debian/NEWS | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/debian/NEWS b/debian/NEWS
index 1f53e1b..35c111a 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,26 @@
+libmath-prime-util-perl (0.58-1) unstable; urgency=medium
+
+  From 0.58 upstream Changes:
+
+    [API Changes]
+
+    - prev_prime($n) where $n <= 2 now returns undef instead of 0.  This
+      may enable catching range errors, and is technically more correct.
+
+    - nth_prime(0) now returns undef instead of 0.  This should help catch
+      cases where the base wasn't understood.  The change is similar for
+      all the nth_* functions (e.g. nth_twin_prime).
+
+    - sumdigits(n,base) will interpret n as a number in the given base,
+      rather than the Pari/GP method of converting decimal n to that base
+      then summing.  This allows sumdigits to easily sum hex strings.
+      The old behavior is easily done with vecsum(todigits(n, base)).
+
+    - binary() was not intended to be released (todigits and todigitstring
+      are supersets), but the documentation got left in.  Remove docs.
+
+ -- Salvatore Bonaccorso <carnil at debian.org>  Sun, 22 May 2016 11:03:56 +0200
+
 libmath-prime-util-perl (0.46-1) unstable; urgency=medium
 
   From 0.46 upstream Changes:  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list