Math-Random-MT-Auto-4.08.00.tar.gz
Math-Random-MT-Auto-4.08.00.tar.gz
am 18.09.2005 00:16:01 von gamo
As in previous versions, make test show a lot of NOK
maybe because I use a 64 bit int compiled perl.
Does anyone could correct this?
TIA,
--
http://www.telecable.es/personales/gamo/
GED/GB d+ s+:+ a C++ U+++ P+++ L++ E---- W++ N++ o K+ w O+ M- V
PS++ PE++ Y PGP+ t 5-- X+ R-- tv-- b++ DI++ D+ G- e+++ h+ r-- z
perl -e 'print 111_111_111**2,"\n";'
Re: Math-Random-MT-Auto-4.08.00.tar.gz
am 18.09.2005 13:06:43 von Sisyphus
"gamo" wrote in message
news:Pine.LNX.4.63.0509180013130.21037@jvz.es...
>
> As in previous versions, make test show a lot of NOK
> maybe because I use a 64 bit int compiled perl.
The module's documentation suggests that 64-bit perl should *not* pose a
problem:
-- quote --
"If Perl has been compiled to support 64-bit integers (do perl -V and look
for use64bitint=define), then this module will use a 64-bit-integer version
of the Mersenne Twister, thus providing 64-bit random integers and 52-bit
random doubles. The size of integers returned by "irand", and used by
"get_seed" and "set_seed" will be sized accordingly."
-- end quote --
However, there may well be some bug in the test scripts that causes those
'NOK' results. It might make things a little easier for us if you could post
the results of 'make test'.
Cheers,
Rob
Re: Math-Random-MT-Auto-4.08.00.tar.gz
am 21.09.2005 15:06:41 von gamo
On Sun, 18 Sep 2005, Sisyphus wrote:
> The module's documentation suggests that 64-bit perl should *not* pose a
> problem:
>
> -- quote --
> "If Perl has been compiled to support 64-bit integers (do perl -V and look
> for use64bitint=define), then this module will use a 64-bit-integer version
> of the Mersenne Twister, thus providing 64-bit random integers and 52-bit
> random doubles. The size of integers returned by "irand", and used by
> "get_seed" and "set_seed" will be sized accordingly."
> -- end quote --
>
> However, there may well be some bug in the test scripts that causes those
> 'NOK' results. It might make things a little easier for us if you could post
> the results of 'make test'.
>
> Cheers,
> Rob
>
>
Here is an example:
# Failed test (t/02-gaussian.t at line 64)
# Failed test (t/02-gaussian.t at line 64)
a lot of this messages (thousands)...
Thanks for your help. Cheers
Re: Math-Random-MT-Auto-4.08.00.tar.gz
am 23.09.2005 01:29:25 von Sisyphus
"gamo" wrote in message
..
..
> >
> > However, there may well be some bug in the test scripts that causes
those
> > 'NOK' results. It might make things a little easier for us if you could
post
> > the results of 'make test'.
> >
> > Cheers,
> > Rob
> >
> >
> Here is an example:
>
> # Failed test (t/02-gaussian.t at line 64)
>
> # Failed test (t/02-gaussian.t at line 64)
>
Hmmm .... doesn't really help much.
For me, in 02-gaussian.t :
62: for (1 .. $CNT) {
63: eval { $x = gaussian(10); };
64: if ($@) {
65: fail('gaussian(10) failed: ' . $@);
66: }
But I don't see anything that looks like $@ in what you have reported. What
happens when you run:
perl -Mblib t/02-gaussian.t
First thing to do is to find out what $@ contains.
Cheers,
Rob
Re: Math-Random-MT-Auto-4.08.00.tar.gz
am 24.09.2005 07:45:15 von gamo
Here's the full err & out
# Failed test (t/02-gaussian.t at line 64)
Enormous test number seen [test 181386]
Can't detailize, too big.
t/02-gaussian.......NOK 181386Enormous test number seen [test 181387]
Can't detailize, too big.
t/02-gaussian.......NOK 181387Enormous test number seen [test 181388]
Can't detailize, too big.
t/02-gaussian.......NOK 181388Enormous test number seen [test 181389]
Can't detailize, too big.
t/02-gaussian.......NOK 181389Enormous test number seen [test 181390]
Can't detailize, too big.
t/02-gaussian.......NOK 181390Enormous test number seen [test 181391]
Can't detailize, too big.
t/02-gaussian.......NOK 181391make: *** [test_dynamic] Interrupt
Best regards,