pjacklam / p5-math-bigint-bitvect Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I just realized this repository has not been updated for 2 years while I saw a new release on MetaCPAN https://metacpan.org/dist/Math-BigInt-BitVect that included the link to this repo.
So now I am not sure, is this the real repository of the project?
I just cloned the repo and tried to run the test in a Docker container based on ubuntu:22.10 (here is the dockerfile: https://github.com/szabgab/playground ) I got the following errors:
# make test
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00sig.t ..... skipped: Set the environment variable TEST_SIGNATURE to enable this test.
t/01load.t .... 1/2 #
# Testing with Perl 5.034000, /usr/bin/perl
#
# Version Module
# ------- ------
# 1.999838 Math::BigInt
# 1.999838 Math::BigInt::Lib
# 1.18 Math::BigInt::BitVect
# 7.4 Bit::Vector
#
t/01load.t .... ok
t/bigfltpm.t .. 1/3089
# Failed test '$x = Math::BigFloat->new("0"); $y = Math::BigFloat->new("10"); $x->bcos($y);'
# at ./t/bigfltpm.inc line 170.
# got: '1.000000000'
# expected: '1'
# Failed test '$x = Math::BigFloat->new("0"); $y = Math::BigFloat->new("20"); $x->bcos($y);'
# at ./t/bigfltpm.inc line 170.
# got: '1.0000000000000000000'
# expected: '1'
t/bigfltpm.t .. 247/3089 Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 387.
Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 388.
Argument "" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 389.
Argument "abc" isn't numeric in subtraction (-) at /usr/local/share/perl/5.34.0/Math/BigFloat.pm line 4682, <DATA> line 390.
t/bigfltpm.t .. 2192/3089 # Looks like you failed 2 tests of 3089.
t/bigfltpm.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3089 subtests
(less 1 skipped subtest: 3086 okay)
t/bigintbv.t .. ok
t/bigintpm.t .. ok
t/biglog.t .... 1/73
# Failed test 'blog(100)'
# at t/biglog.t line 149.
# got: '100'
# expected: '2'
t/biglog.t .... 73/73 # Looks like you failed 1 test of 73.
t/biglog.t .... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/73 subtests
t/bigroot.t ... ok
t/mbi_rand.t .. ok
t/mbimbf.t .... 1/738
# Failed test '$x->babs()'
# at ./t/mbimbf.inc line 426.
# got: '123400'
# expected: '123401'
# Failed test '$x->bneg()'
# at ./t/mbimbf.inc line 430.
# got: '123400'
# expected: '123401'
# Failed test '$x has still A of 42'
# at t/mbimbf.t line 74.
# got: undef
# expected: '42'
# Failed test '$x has still A of 42'
# at t/mbimbf.t line 74.
# got: undef
# expected: '42'
# Looks like you failed 4 tests of 738.
t/mbimbf.t .... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/738 subtests
(less 12 skipped subtests: 722 okay)
Test Summary Report
-------------------
t/bigfltpm.t (Wstat: 512 Tests: 3089 Failed: 2)
Failed tests: 99, 101
Non-zero exit status: 2
t/biglog.t (Wstat: 256 Tests: 73 Failed: 1)
Failed test: 40
Non-zero exit status: 1
t/mbimbf.t (Wstat: 1024 Tests: 738 Failed: 4)
Failed tests: 204-205, 731, 734
Non-zero exit status: 4
Files=9, Tests=8798, 113 wallclock secs ( 0.59 usr 0.05 sys + 113.53 cusr 0.13 csys = 114.30 CPU)
Result: FAIL
Failed 3/9 test programs. 7/8798 subtests failed.
make: *** [Makefile:838: test_dynamic] Error 4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.