Hello community,

here is the log from the commit of package perl-Math-BigInt-GMP for 
openSUSE:Factory checked in at 2016-05-25 21:22:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Math-BigInt-GMP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Math-BigInt-GMP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Math-BigInt-GMP"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.changes    
    2016-01-05 21:56:05.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Math-BigInt-GMP.new/perl-Math-BigInt-GMP.changes
   2016-05-25 21:22:30.000000000 +0200
@@ -1,0 +2,12 @@
+Thu May  5 09:35:07 UTC 2016 - [email protected]
+
+- updated to 1.51
+   see /usr/share/doc/packages/perl-Math-BigInt-GMP/CHANGES
+
+  2016-04-25 v1.51 pjacklam
+    * Sync test files with Math-BigInt-1.999719.
+  
+  2016-04-22 v1.50 pjacklam
+    * Sync test files with Math-BigInt-1.999718.
+
+-------------------------------------------------------------------

Old:
----
  Math-BigInt-GMP-1.49.tar.gz

New:
----
  Math-BigInt-GMP-1.51.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Math-BigInt-GMP.spec ++++++
--- /var/tmp/diff_new_pack.ax30Lm/_old  2016-05-25 21:22:30.000000000 +0200
+++ /var/tmp/diff_new_pack.ax30Lm/_new  2016-05-25 21:22:30.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Math-BigInt-GMP
-Version:        1.49
+Version:        1.51
 Release:        0
 %define cpan_name Math-BigInt-GMP
 Summary:        Use the GMP library for Math::BigInt routines
@@ -29,8 +29,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Math::BigInt) >= 1.999714
-Requires:       perl(Math::BigInt) >= 1.999714
+BuildRequires:  perl(Math::BigInt) >= 1.999719
+Requires:       perl(Math::BigInt) >= 1.999719
 %{perl_requires}
 # MANUAL BEGIN
 BuildRequires:  gmp-devel

++++++ Math-BigInt-GMP-1.49.tar.gz -> Math-BigInt-GMP-1.51.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/CHANGES 
new/Math-BigInt-GMP-1.51/CHANGES
--- old/Math-BigInt-GMP-1.49/CHANGES    2016-01-03 12:56:28.000000000 +0100
+++ new/Math-BigInt-GMP-1.51/CHANGES    2016-04-25 20:25:19.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Perl extension Math::BigInt::GMP.
 
+2016-04-25 v1.51 pjacklam
+  * Sync test files with Math-BigInt-1.999719.
+
+2016-04-22 v1.50 pjacklam
+  * Sync test files with Math-BigInt-1.999718.
+
 2016-01-03 v1.49 pjacklam
   * Sync test files with Math-BigInt-1.999714.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/META.json 
new/Math-BigInt-GMP-1.51/META.json
--- old/Math-BigInt-GMP-1.49/META.json  2016-01-03 13:26:35.000000000 +0100
+++ new/Math-BigInt-GMP-1.51/META.json  2016-04-25 20:37:16.000000000 +0200
@@ -33,12 +33,12 @@
       },
       "runtime" : {
          "requires" : {
-            "Math::BigInt" : "1.999714",
+            "Math::BigInt" : "1.999719",
             "XSLoader" : "0.02"
          }
       }
    },
    "release_status" : "stable",
-   "version" : "1.49",
+   "version" : "1.51",
    "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/META.yml 
new/Math-BigInt-GMP-1.51/META.yml
--- old/Math-BigInt-GMP-1.49/META.yml   2016-01-03 13:26:34.000000000 +0100
+++ new/Math-BigInt-GMP-1.51/META.yml   2016-04-25 20:37:11.000000000 +0200
@@ -19,7 +19,7 @@
     - t
     - inc
 requires:
-  Math::BigInt: '1.999714'
+  Math::BigInt: '1.999719'
   XSLoader: '0.02'
-version: '1.49'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
+version: '1.51'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/Makefile.PL 
new/Math-BigInt-GMP-1.51/Makefile.PL
--- old/Math-BigInt-GMP-1.49/Makefile.PL        2016-01-01 21:11:27.000000000 
+0100
+++ new/Math-BigInt-GMP-1.51/Makefile.PL        2016-04-25 20:25:19.000000000 
+0200
@@ -27,7 +27,7 @@
    'INSTALLDIRS'       => 'site',
    'ABSTRACT_FROM'     => 'lib/Math/BigInt/GMP.pm',
    'PREREQ_PM'         => {
-                           Math::BigInt => 1.999714,
+                           Math::BigInt => 1.999719,
                            XSLoader => 0.02,
                           },
    TEST_REQUIRES       => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/SIGNATURE 
new/Math-BigInt-GMP-1.51/SIGNATURE
--- old/Math-BigInt-GMP-1.49/SIGNATURE  2016-01-03 13:26:38.000000000 +0100
+++ new/Math-BigInt-GMP-1.51/SIGNATURE  2016-04-25 20:37:20.000000000 +0200
@@ -15,32 +15,32 @@
 Hash: SHA1
 
 SHA1 70d6187d0152848c922dc4360fa6dd3a3dc35c62 BUGS
-SHA1 3cb9f5d61c5957a46d5053dffb79ef224a52f884 CHANGES
+SHA1 1c40958b30fd8921940264efc420c492888cb8bd CHANGES
 SHA1 dda5ca4f413031e9efcaa1600461d5e2adaa3a40 CREDITS
 SHA1 994e042378cfa664b0e29845482c0d396daa4f51 GMP.xs
 SHA1 d6b7be7fb558f2df93e6bc55148bba35cae22ce4 INSTALL
 SHA1 d6a6c30ee6d9ba6b9afab8bbf6a25e1b23c744e0 LICENSE
 SHA1 827f3cfa928f2136db6b2fcbcb7c161a3a00071f MANIFEST
 SHA1 af63913bdddd932166479fe0fab3e1bffca11383 MANIFEST.SKIP
-SHA1 2c12c0b7ab9fe409aef9ae631ab152c7ec783544 META.json
-SHA1 43e486c7ac7f71648e79132cb45085006b5da175 META.yml
-SHA1 ff8d25f30d37fe01f1cffe1bc53c926bff0ee9ef Makefile.PL
+SHA1 5fc8668707f1084de8801c75d5ab68e1a463f142 META.json
+SHA1 0a136bafa7970d3f1c48cb38d9610606b9af2e0b META.yml
+SHA1 c394553103dce216815fd623b316ac580e4019f7 Makefile.PL
 SHA1 88285b11c8b577086397d0f84983c031c7910d6e README
 SHA1 6c7207c83d636868d3d1f1fc42f3f9e5897cbe85 TODO
 SHA1 fd48d0d8750eb949e485d8136b5b424fe73e9775 build/README
 SHA1 7bcc4113830721ad6e37a1ea79df94a6987c836d build/leak.pl
 SHA1 ac25bda8a6eb9058a9e42a8943c3e11b9fed88dc build/leaktest
 SHA1 3fd5ca410a064b30c363b1751dd4f94b79d0b0e0 inc/Devel/CheckLib.pm
-SHA1 0d1576f36681cb9fd00bc067b2ddab08832063e1 lib/Math/BigInt/GMP.pm
+SHA1 9c0220e73922b07ab532a749ec6843ed8eaa6401 lib/Math/BigInt/GMP.pm
 SHA1 385cc7ed3bf3e6290640b9880445ca9a3dea629e t/00sig.t
 SHA1 9804bc54921977a29afed178ebc3bd56163ab2f5 t/01load.t
 SHA1 b2ed9206ca5b69ec3b8bbf850bf4b6dfde518e7e t/02pod.t
 SHA1 98c6444812754e7b8a25897d688aa7086a6df175 t/03podcov.t
-SHA1 9b9b6a30c74d5134a6ad4a04b71732d9802dfd64 t/bigfltpm.inc
-SHA1 55087084e3de3eb008717ec3f6e2d021140e3c2b t/bigfltpm.t
+SHA1 73a0ee5c082e0f61acd39d9edab75fb340871d42 t/bigfltpm.inc
+SHA1 14f9bbf310f82157ee1c8c1b546fb8b2e522e877 t/bigfltpm.t
 SHA1 dd66e0f66b3b470397880c91d83ccd7e0e62808d t/bigintg.t
-SHA1 8196aa86f15868a91cde4ca849b1035cfee856dd t/bigintpm.inc
-SHA1 8569265b8075ddacb3137017904002a7770fe988 t/bigintpm.t
+SHA1 4962d50d538ec515c1dc33b87659de906ab1ba5b t/bigintpm.inc
+SHA1 9117546c0d726ef07e616f4fb407d46317240605 t/bigintpm.t
 SHA1 6a32bb3e0cf8e2d5c862d9749ffa12b7827a233f t/biglog.t
 SHA1 95ccd077cf518e86c329ac5122c2bc8f487e9d2a t/bigroot.t
 SHA1 62084b48dc1b6f0ceebe23471b3761b55be07872 t/mbi-from-big-scalar.t
@@ -50,11 +50,11 @@
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
-iQEcBAEBAgAGBQJWiRN8AAoJEGcmPl2fr166T30H/2S03IZpxvrnStnsivQDLElC
-s0HHIkOsossD6zbHQ5lqZqL4C252vvMti3oiJgu1AcrzGzH4dQKmwh1yFMMMJTok
-NroOLZct4Dp/4NHYYV/p7OJsJtByMH0VMAiNkt/ZGYIUMNNzh6z+xUtPKnXpBmzs
-Z1+aizxD5vlQEP6j55HGuVl6Z1QlMJuRacZyvFIyxrVZTHdCfnwkhTK2jfeVT7yC
-fYmGnfjQpmErfLSCUDLny+RdEpi+abWu3MwMLeGAH0CvNXRNKqHPt2qJXLmrO2/V
-frIt1LjEtQLuWRUE5pqBvPCnpinSFhbYRn4bg/qZ9meqq1hgRv+d6S2D8upz1Tg=
-=/FP5
+iQEcBAEBAgAGBQJXHmPeAAoJEGcmPl2fr166os0IALpewmMsFo+kzWQzeDFw23PU
+l0RmMO5Q1kzNUF5cBaot1yQ48UdNhZ/mZ/z4ZvJo4ddnR/Jg5kfKIN4Rg85vsEbq
+U159YCkH5eLCYoCPY+IjFI7UgDME+Q5i/D5EndZMaDWtIX1QxqKAFtgz0ssVwMHa
+zNMJgf9+NqveGAqCR0XBOc4TgEuLtMlzzkDjgiS+cvBSJLLPD/TKYoQc8QnW0jIA
+fMi7X1G88lKm8CAMZ6OUS2RhcuOL259H7zACQko1G07my3Dafk28ZRb6FZFSrqIl
+C1+jlUTT5fnGAHb1Z8G9VqWP7cJLOY06kT0DCYVspq7TCLFxoiqSX9DY1a9d1aI=
+=7L6/
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/lib/Math/BigInt/GMP.pm 
new/Math-BigInt-GMP-1.51/lib/Math/BigInt/GMP.pm
--- old/Math-BigInt-GMP-1.49/lib/Math/BigInt/GMP.pm     2016-01-01 
21:08:48.000000000 +0100
+++ new/Math-BigInt-GMP-1.51/lib/Math/BigInt/GMP.pm     2016-04-25 
20:26:04.000000000 +0200
@@ -7,7 +7,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.49';
+our $VERSION = '1.51';
 
 use XSLoader;
 XSLoader::load "Math::BigInt::GMP", $VERSION;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/t/bigfltpm.inc 
new/Math-BigInt-GMP-1.51/t/bigfltpm.inc
--- old/Math-BigInt-GMP-1.49/t/bigfltpm.inc     2016-01-02 11:13:46.000000000 
+0100
+++ new/Math-BigInt-GMP-1.51/t/bigfltpm.inc     2016-04-25 17:37:07.000000000 
+0200
@@ -15,7 +15,6 @@
     s/\s+$//;                   # remove trailing whitespace
     next unless length;         # skip empty lines
 
-
     if (s/^&//) {
         $f = $_;
         next;
@@ -71,9 +70,9 @@
     } elsif ($f eq "bpi") {
         $try .= qq| $CLASS->bpi(\$x);|;
     } elsif ($f eq "binc") {
-        $try .= ' ++$x;';
+        $try .= ' $x->binc();';
     } elsif ($f eq "bdec") {
-        $try .= ' --$x;';
+        $try .= ' $x->bdec();';
     } elsif ($f eq "bround") {
         $try .= qq| $setup; \$x->bround($args[1]);|;
     } elsif ($f eq "bfround") {
@@ -112,7 +111,7 @@
         } elsif ($f eq "bacmp") {
             $try .= ' $x->bacmp($y);';
         } elsif ($f eq "bpow") {
-            $try .= ' $x ** $y;';
+            $try .= ' $x->bpow($y);';
         } elsif ($f eq "bnok") {
             $try .= ' $x->bnok($y);';
         } elsif ($f eq "bcos") {
@@ -124,21 +123,21 @@
         } elsif ($f eq "broot") {
             $try .= qq| $setup; \$x->broot(\$y);|;
         } elsif ($f eq "badd") {
-            $try .= ' $x + $y;';
+            $try .= ' $x->badd($y);';
         } elsif ($f eq "bsub") {
-            $try .= ' $x - $y;';
+            $try .= ' $x->bsub($y);';
         } elsif ($f eq "bmul") {
-            $try .= ' $x * $y;';
+            $try .= ' $x->bmul($y);';
         } elsif ($f eq "bdiv") {
-            $try .= qq| $setup; \$x / \$y;|;
+            $try .= qq| $setup; scalar \$x->bdiv(\$y);|;
         } elsif ($f eq "bdiv-list") {
             $try .= qq| $setup; join(",", \$x->bdiv(\$y));|;
         } elsif ($f eq "brsft") {
-            $try .= ' $x >> $y;';
+            $try .= ' $x->brsft($y);';
         } elsif ($f eq "blsft") {
-            $try .= ' $x << $y;';
+            $try .= ' $x->blsft($y);';
         } elsif ($f eq "bmod") {
-            $try .= ' $x % $y;';
+            $try .= ' $x->bmod($y);';
         } else {
             # Functions with three arguments
             $try .= qq| \$z = $CLASS->new("$args[2]");|;
@@ -260,42 +259,6 @@
 $CLASS->precision(undef);      # reset
 
 ###############################################################################
-# bug in bsstr()/numify() showed up in after-rounding in bdiv()
-
-$x = $CLASS->new("0.008");
-$y = $CLASS->new(2);
-$x->bdiv(3, $y);
-is($x, "0.0027",
-   qq|\$x = $CLASS->new("0.008"); \$y = $CLASS->new(2); \$x->bdiv(3, \$y);|);
-
-###############################################################################
-# Verify that numify() returns a normalized value, and underflows and
-# overflows when given "extreme" values.
-
-like($CLASS->new("12345e67")->numify(), qr/^1\.2345e\+?0*71$/,
-     qq|$CLASS->new("12345e67")->numify()|);
-
-# underflow
-like($CLASS->new("1e-9999")->numify(), qr/^\+?0$/,
-     qq|$CLASS->new("1e-9999")->numify()|);
-
-# overflow
-unlike($CLASS->new("1e9999")->numify(), qr/^1(\.0*)?e\+?9+$/,
-       qq|$CLASS->new("1e9999")->numify()|);
-
-###############################################################################
-# Check numify on non-finite objects.
-
-{
-    require Math::Complex;
-    my $inf = Math::Complex::Inf();
-    my $nan = $inf - $inf;
-    is($CLASS -> binf("+") -> numify(),  $inf, "numify of +Inf");
-    is($CLASS -> binf("-") -> numify(), -$inf, "numify of -Inf");
-    is($CLASS -> bnan()    -> numify(),  $nan, "numify of NaN");
-}
-
-###############################################################################
 # bsqrt() with set global A/P or A/P enabled on $x, also a test whether bsqrt()
 # correctly modifies $x
 
@@ -497,7 +460,7 @@
 $x = $CLASS->new("2");
 $y = $CLASS->new("18.2");
 
-# 2 * (2 ** 18.2);
+# 2 * (2 ** int(18.2));
 $x <<= $y;
 is($x->copy()->bfround(-9), "602248.763144685",
    qq|\$x = $CLASS->new("2"); \$y = $CLASS->new("18.2");| .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/t/bigfltpm.t 
new/Math-BigInt-GMP-1.51/t/bigfltpm.t
--- old/Math-BigInt-GMP-1.49/t/bigfltpm.t       2016-01-01 21:09:23.000000000 
+0100
+++ new/Math-BigInt-GMP-1.51/t/bigfltpm.t       2016-04-22 10:03:55.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 2409            # tests in require'd file
+use Test::More tests => 2402            # tests in require'd file
                         + 5;            # tests in this file
 
 use Math::BigInt lib => 'GMP';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/t/bigintpm.inc 
new/Math-BigInt-GMP-1.51/t/bigintpm.inc
--- old/Math-BigInt-GMP-1.49/t/bigintpm.inc     2015-12-31 13:05:58.000000000 
+0100
+++ new/Math-BigInt-GMP-1.51/t/bigintpm.inc     2016-04-03 13:20:36.000000000 
+0200
@@ -110,16 +110,20 @@
         } elsif ($f eq "bacmp") {
             $try .= ' $x->bacmp($y);';
         } elsif ($f eq "badd") {
-            $try .= ' $x + $y;';
+            $try .= ' $x->badd($y);';
         } elsif ($f eq "bsub") {
-            $try .= ' $x - $y;';
+            $try .= ' $x->bsub($y);';
         } elsif ($f eq "bmul") {
-            $try .= ' $x * $y;';
+            $try .= ' $x->bmul($y);';
         } elsif ($f eq "bdiv") {
-            $try .= ' $x / $y;';
+            $try .= ' $x->bdiv($y);';
         } elsif ($f eq "bdiv-list") {
             $try .= ' join (",", $x->bdiv($y));';
-            # overload via x=
+        } elsif ($f eq "btdiv") {
+            $try .= ' $x->btdiv($y);';
+        } elsif ($f eq "btdiv-list") {
+            $try .= ' join (",", $x->btdiv($y));';
+        # overload via x=
         } elsif ($f =~ /^.=$/) {
             $try .= " \$x $f \$y;";
             # overload via x
@@ -653,18 +657,6 @@
 is(ref($x), 'Math::Foo', '$x is an object of class "Math::Foo"');
 
 ###############################################################################
-# Check numify on non-finite objects.
-
-{
-    require Math::Complex;
-    my $inf = Math::Complex::Inf();
-    my $nan = $inf - $inf;
-    is($CLASS -> binf("+") -> numify(),  $inf, "numify of +Inf");
-    is($CLASS -> binf("-") -> numify(), -$inf, "numify of -Inf");
-    is($CLASS -> bnan()    -> numify(),  $nan, "numify of NaN");
-}
-
-###############################################################################
 # Test whether +inf eq inf
 #
 # This tried to test whether Math::BigInt inf equals Perl inf. Unfortunately,
@@ -1844,43 +1836,83 @@
 9999999999999999999:10000000000000000000:99999999999999999990000000000000000000
 
 &bdiv-list
-100:20:5,0
-4095:4095:1,0
--4095:-4095:1,0
-4095:-4095:-1,0
--4095:4095:-1,0
-123:2:61,1
-9:5:1,4
-9:4:2,1
-# inf handling and general remainder
-5:8:0,5
-0:8:0,0
-11:2:5,1
-11:-2:-6,-1
--11:2:-6,1
-# see table in documentation in MBI
-0:inf:0,0
-0:-inf:0,0
-5:inf:0,5
-5:-inf:-1,-inf
--5:inf:-1,inf
--5:-inf:0,-5
-inf:5:inf,NaN
--inf:5:-inf,NaN
+
+# Divide by zero and modulo zero.
+
+inf:0:inf,inf
+5:0:inf,5
+0:0:NaN,0
+-5:0:-inf,-5
+-inf:0:-inf,-inf
+
+# Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
+
+inf:-inf:NaN,NaN
 inf:-5:-inf,NaN
--inf:-5:inf,NaN
-5:5:1,0
--5:-5:1,0
+inf:5:inf,NaN
 inf:inf:NaN,NaN
+
 -inf:-inf:NaN,NaN
+-inf:-5:inf,NaN
+-inf:5:-inf,NaN
 -inf:inf:NaN,NaN
-inf:-inf:NaN,NaN
-8:0:inf,8
-inf:0:inf,inf
-# exceptions to remainder rule
--8:0:-inf,-8
--inf:0:-inf,-inf
-0:0:NaN,0
+
+# Denominator (divisor) is +/-inf. The cases when the numerator is +/-inf
+# are covered above.
+
+-5:inf:-1,inf
+0:inf:0,0
+5:inf:0,5
+
+-5:-inf:0,-5
+0:-inf:0,0
+5:-inf:-1,-inf
+
+# Numerator is finite, and denominator is finite and non-zero.
+
+-5:-5:1,0
+-5:-2:2,-1
+-5:-1:5,0
+-5:1:-5,0
+-5:2:-3,1
+-5:5:-1,0
+-2:-5:0,-2
+-2:-2:1,0
+-2:-1:2,0
+-2:1:-2,0
+-2:2:-1,0
+-2:5:-1,3
+-1:-5:0,-1
+-1:-2:0,-1
+-1:-1:1,0
+-1:1:-1,0
+-1:2:-1,1
+-1:5:-1,4
+0:-5:0,0
+0:-2:0,0
+0:-1:0,0
+0:1:0,0
+0:2:0,0
+0:5:0,0
+1:-5:-1,-4
+1:-2:-1,-1
+1:-1:-1,0
+1:1:1,0
+1:2:0,1
+1:5:0,1
+2:-5:-1,-3
+2:-2:-1,0
+2:-1:-2,0
+2:1:2,0
+2:2:1,0
+2:5:0,2
+5:-5:-1,0
+5:-2:-3,-1
+5:-1:-5,0
+5:1:5,0
+5:2:2,1
+5:5:1,0
+
 # test the shortcut in Calc if @$x == @$yorg
 1234567812345678:123456712345678:10,688888898
 12345671234567:1234561234567:10,58888897
@@ -1916,32 +1948,42 @@
 
9999999_9999999_9999999_9999999:1_0000000_0000000_0000000:9999999,999999999999999999999
 
 &bdiv
-abc:abc:NaN
-abc:1:NaN
-1:abc:NaN
+
+# Divide by zero and modulo zero.
+
+inf:0:inf
+5:0:inf
 0:0:NaN
-# inf handling (see table in doc)
+-5:0:-inf
+-inf:0:-inf
+
+# Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
+
+inf:-inf:NaN
+inf:-5:-inf
+inf:5:inf
+inf:inf:NaN
+
+-inf:-inf:NaN
+-inf:-5:inf
+-inf:5:-inf
+-inf:inf:NaN
+
+# Denominator (divisor) is +/-inf. The cases when the numerator is +/-inf
+# are covered above.
+
+-5:inf:-1
 0:inf:0
-0:-inf:0
 5:inf:0
-5:-inf:-1
--5:inf:-1
+
 -5:-inf:0
-inf:5:inf
--inf:5:-inf
-inf:-5:-inf
--inf:-5:inf
+0:-inf:0
+5:-inf:-1
+
+# Numerator is finite, and denominator is finite and non-zero.
+
 5:5:1
 -5:-5:1
-inf:inf:NaN
--inf:-inf:NaN
--inf:inf:NaN
-inf:-inf:NaN
-8:0:inf
-inf:0:inf
--8:0:-inf
--inf:0:-inf
-0:0:NaN
 11:2:5
 -11:-2:5
 -11:2:-6
@@ -2033,6 +2075,164 @@
 # bug with shortcut in Calc 0.44
 949418181818187070707070707070707070:181818181853535353535353535353535353:5
 
+&btdiv-list
+
+# Divide by zero and modulo zero.
+
+inf:0:inf,inf
+5:0:inf,5
+0:0:NaN,0
+-5:0:-inf,-5
+-inf:0:-inf,-inf
+
+# Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
+
+inf:-inf:NaN,NaN
+inf:-5:-inf,NaN
+inf:5:inf,NaN
+inf:inf:NaN,NaN
+
+-inf:-inf:NaN,NaN
+-inf:-5:inf,NaN
+-inf:5:-inf,NaN
+-inf:inf:NaN,NaN
+
+# Denominator (divisor) is +/-inf. The cases when the numerator is +/-inf
+# are covered above.
+
+-5:inf:0,-5
+0:inf:0,0
+5:inf:0,5
+
+-5:-inf:0,-5
+0:-inf:0,0
+5:-inf:0,5
+
+# Numerator is finite, and denominator is finite and non-zero.
+
+-5:-5:1,0
+-5:-2:2,-1
+-5:-1:5,0
+-5:1:-5,0
+-5:2:-2,-1
+-5:5:-1,0
+-2:-5:0,-2
+-2:-2:1,0
+-2:-1:2,0
+-2:1:-2,0
+-2:2:-1,0
+-2:5:0,-2
+-1:-5:0,-1
+-1:-2:0,-1
+-1:-1:1,0
+-1:1:-1,0
+-1:2:0,-1
+-1:5:0,-1
+0:-5:0,0
+0:-2:0,0
+0:-1:0,0
+0:1:0,0
+0:2:0,0
+0:5:0,0
+1:-5:0,1
+1:-2:0,1
+1:-1:-1,0
+1:1:1,0
+1:2:0,1
+1:5:0,1
+2:-5:0,2
+2:-2:-1,0
+2:-1:-2,0
+2:1:2,0
+2:2:1,0
+2:5:0,2
+5:-5:-1,0
+5:-2:-2,1
+5:-1:-5,0
+5:1:5,0
+5:2:2,1
+5:5:1,0
+
+&btdiv
+
+# Divide by zero and modulo zero.
+
+inf:0:inf
+5:0:inf
+0:0:NaN
+-5:0:-inf
+-inf:0:-inf
+
+# Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
+
+inf:-inf:NaN
+inf:-5:-inf
+inf:5:inf
+inf:inf:NaN
+
+-inf:-inf:NaN
+-inf:-5:inf
+-inf:5:-inf
+-inf:inf:NaN
+
+# Denominator (divisor) is +/-inf. The cases when the numerator is +/-inf
+# are covered above.
+
+-5:inf:0
+0:inf:0
+5:inf:0
+
+-5:-inf:0
+0:-inf:0
+5:-inf:0
+
+# Numerator is finite, and denominator is finite and non-zero.
+
+-5:-5:1
+-5:-2:2
+-5:-1:5
+-5:1:-5
+-5:2:-2
+-5:5:-1
+-2:-5:0
+-2:-2:1
+-2:-1:2
+-2:1:-2
+-2:2:-1
+-2:5:0
+-1:-5:0
+-1:-2:0
+-1:-1:1
+-1:1:-1
+-1:2:0
+-1:5:0
+0:-5:0
+0:-2:0
+0:-1:0
+0:1:0
+0:2:0
+0:5:0
+1:-5:0
+1:-2:0
+1:-1:-1
+1:1:1
+1:2:0
+1:5:0
+2:-5:0
+2:-2:-1
+2:-1:-2
+2:1:2
+2:2:1
+2:5:0
+5:-5:-1
+5:-2:-2
+5:-1:-5
+5:1:5
+5:2:2
+5:5:1
+
+###############################################################################
+
 &bmodinv
 # format: number:modulus:result
 # bmodinv Data errors
@@ -2248,35 +2448,44 @@
 5:inf:13:NaN
 
 &bmod
-# inf handling, see table in doc
+
+# Divide by zero and modulo zero.
+
+inf:0:inf
+5:0:5
+0:0:0
+-5:0:-5
+-inf:0:-inf
+
+# Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
+
+inf:-inf:NaN
+inf:-5:NaN
+inf:5:NaN
+inf:inf:NaN
+
+-inf:-inf:NaN
+-inf:-5:NaN
+-inf:5:NaN
+-inf:inf:NaN
+
+# Denominator (divisor) is +/-inf. The cases when the numerator is +/-inf
+# are covered above.
+
+-5:inf:inf
 0:inf:0
-0:-inf:0
 5:inf:5
-5:-inf:-inf
--5:inf:inf
+
 -5:-inf:-5
-inf:5:NaN
--inf:5:NaN
-inf:-5:NaN
--inf:-5:NaN
+0:-inf:0
+5:-inf:-inf
+
+# Numerator is finite, and denominator is finite and non-zero.
+
 5:5:0
 -5:-5:0
-inf:inf:NaN
--inf:-inf:NaN
--inf:inf:NaN
-inf:-inf:NaN
-8:0:8
-inf:0:inf
--inf:0:-inf
--8:0:-8
-0:0:0
-abc:abc:NaN
-abc:1:abc:NaN
-1:abc:NaN
 0:1:0
-1:0:1
 0:-1:0
--1:0:-1
 1:1:0
 -1:-1:0
 1:-1:0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Math-BigInt-GMP-1.49/t/bigintpm.t 
new/Math-BigInt-GMP-1.51/t/bigintpm.t
--- old/Math-BigInt-GMP-1.49/t/bigintpm.t       2016-01-01 21:09:23.000000000 
+0100
+++ new/Math-BigInt-GMP-1.51/t/bigintpm.t       2016-04-21 09:44:56.000000000 
+0200
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 3724            # tests in require'd file
+use Test::More tests => 3913            # tests in require'd file
                          + 6;           # tests in this file
 
 use Math::BigInt lib => 'GMP';


Reply via email to