[SCM] Debian packaging of libmath-random-mt-perl branch, master, updated. debian/1.15-1-3-g147b363

Salvatore Bonaccorso carnil at debian.org
Mon Aug 6 21:07:20 UTC 2012


The following commit has been merged in the master branch:
commit 147b363b5e7180db097e8f9994e2a152f911c046
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Mon Aug 6 23:06:58 2012 +0200

    Correct delta to 1e-14
    
    Git-Dch: Ignore

diff --git a/debian/patches/0001-Fix-handling-of-rand-and-irand-arguments.patch b/debian/patches/0001-Fix-handling-of-rand-and-irand-arguments.patch
index cc8f7c5..573ac0d 100644
--- a/debian/patches/0001-Fix-handling-of-rand-and-irand-arguments.patch
+++ b/debian/patches/0001-Fix-handling-of-rand-and-irand-arguments.patch
@@ -58,8 +58,8 @@ Last-Update: 2012-08-06
  ok($gen->irand() == 3890346734);
  ok($gen->irand() == 3586334585);
 +
-+ok(abs($gen->rand(10) - 1.269868118688464) < 1e-13); # rand() takes a multiplier as argument
-+ok(abs($gen->rand(10) - 9.688677710946649) < 1e-13);
++ok(abs($gen->rand(10) - 1.269868118688464) < 1e-14); # rand() takes a multiplier as argument
++ok(abs($gen->rand(10) - 9.688677710946649) < 1e-14);
 +
 +ok($gen->irand(123) == 3922919429); # irand() takes no argument; given argument does nothing
 +ok($gen->irand(123) ==  949333985);
@@ -79,8 +79,8 @@ Last-Update: 2012-08-06
  ok(irand() == 3890346734);
  ok(irand() == 3586334585);
 +
-+ok(abs(rand(10) - 1.269868118688464) < 1e-13); # rand() takes a multiplier as argument
-+ok(abs(rand(10) - 9.688677710946649) < 1e-13);
++ok(abs(rand(10) - 1.269868118688464) < 1e-14); # rand() takes a multiplier as argument
++ok(abs(rand(10) - 9.688677710946649) < 1e-14);
 +
 +ok(irand(123) == 3922919429); # irand() takes no argument; given argument does nothing
 +ok(irand(123) ==  949333985);

-- 
Debian packaging of libmath-random-mt-perl



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