pjacklam / p5-math-bigint-fastcalc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rafl/math-bigint-fastcalc
License: Other
This project forked from rafl/math-bigint-fastcalc
License: Other
+ cd Math-BigInt-FastCalc-0.5016
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.bs 644
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.
#
# Testing with Perl 5.038002, /usr/bin/perl
#
# Version Module
# ------- ------
# 2.002001 Math::BigInt
# 2.002001 Math::BigInt::Lib
# 2.002001 Math::BigInt::Calc
# 0.5016 Math::BigInt::FastCalc
#
t/01load.t ..... ok
t/bigfltpm.t ... ok
t/bigintfc.t ... ok
t/bigintpm.t ... ok
t/biglog.t ..... ok
t/bigroot.t .... ok
t/bootstrap.t .. ok
t/leak.t ....... ok
t/mbi_rand.t ... ok
# Failed test '$x = Math::BigInt->bzero(); $x->accuracy(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 258.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->bzero(); $x->precision(5); $x->{precision}'
# at ./t/mbimbf.inc line 262.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->new(0); $x->accuracy(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 266.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->new(0); $x->precision(5); $x->{precision}'
# at ./t/mbimbf.inc line 270.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->bzero(); $x->round(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 274.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->bzero(); $x->round(undef, 5); $x->{precision}'
# at ./t/mbimbf.inc line 278.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->new(0); $x->round(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 282.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigInt->new(0); $x->round(undef, 5); $x->{precision}'
# at ./t/mbimbf.inc line 286.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->bzero(); $x->accuracy(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 258.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->bzero(); $x->precision(5); $x->{precision}'
# at ./t/mbimbf.inc line 262.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->new(0); $x->accuracy(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 266.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->new(0); $x->precision(5); $x->{precision}'
# at ./t/mbimbf.inc line 270.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->bzero(); $x->round(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 274.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->bzero(); $x->round(undef, 5); $x->{precision}'
# at ./t/mbimbf.inc line 278.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->new(0); $x->round(5); $x->{accuracy}'
# at ./t/mbimbf.inc line 282.
# got: undef
# expected: '5'
# Failed test '$x = Math::BigFloat->new(0); $x->round(undef, 5); $x->{precision}'
# at ./t/mbimbf.inc line 286.
# got: undef
# expected: '5'
# Failed test '$z = $x + $y'
# at ./t/mbimbf.inc line 356.
# got: '777.777'
# expected: '777.8'
# Failed test '$z = $y - $x'
# at ./t/mbimbf.inc line 359.
# got: '530.865'
# expected: '530.9'
# Failed test '$z = $y * $x'
# at ./t/mbimbf.inc line 362.
# got: '80779.853376'
# expected: '80780'
# Failed test '$z = $x ** 2'
# at ./t/mbimbf.inc line 365.
# got: '15241.383936'
# expected: '15241'
# Failed test '$z = $x * $x'
# at ./t/mbimbf.inc line 368.
# got: '15241.383936'
# expected: '15241'
# Failed test '$z = $z / 2'
# at ./t/mbimbf.inc line 378.
# got: '61.728'
# expected: '62'
# Failed test '$z++'
# at ./t/mbimbf.inc line 384.
# got: '123457'
# expected: '123500'
# Failed test '$z = $x + $y'
# at ./t/mbimbf.inc line 392.
# got: '777777'
# expected: '777800'
# Failed test '$z = $y - $x'
# at ./t/mbimbf.inc line 395.
# got: '530865'
# expected: '530900'
# Failed test '$z = $y * $x'
# at ./t/mbimbf.inc line 398.
# got: '80779853376'
# expected: '80780000000'
# Failed test '$z = $x ** 2'
# at ./t/mbimbf.inc line 401.
# got: '15241383936'
# expected: '15241000000'
# Failed test '$z++'
# at ./t/mbimbf.inc line 409.
# got: '123457'
# expected: '123460'
# Failed test '$z = $z / 2'
# at ./t/mbimbf.inc line 414.
# got: '61728'
# expected: '62000'
# Failed test '$x->bnot()'
# at ./t/mbimbf.inc line 418.
# got: '-123401'
# expected: '-123400'
# Failed test '$x->babs()'
# at ./t/mbimbf.inc line 424.
# got: '123401'
# expected: '123400'
# Failed test '$x->bneg()'
# at ./t/mbimbf.inc line 428.
# got: '123401'
# expected: '123400'
# Failed test '$x->{accuracy}'
# at ./t/mbimbf.inc line 440.
# got: undef
# expected: '6'
# Failed test '$x->{accuracy}'
# at ./t/mbimbf.inc line 452.
# got: undef
# expected: '6'
# Failed test '$x->bdiv(3)'
# at ./t/mbimbf.inc line 626.
# got: '3.333333333333333333333333333333333333333'
# expected: '3.333'
# Failed test '$x->bdiv($y)'
# at ./t/mbimbf.inc line 632.
# got: '3.333333333333333333333333333333333333333'
# expected: '3.333'
# Failed test '$x->bdiv(3)'
# at ./t/mbimbf.inc line 638.
# got: '3.333333333333333333333333333333333333333'
# expected: '3.33'
# Failed test '$x->bdiv($y) = '3.333''
# at ./t/mbimbf.inc line 657.
# got: '3.333333333333333333333333333333333333333'
# expected: '3.333'
# Failed test '$x->{accuracy} = 4'
# at ./t/mbimbf.inc line 658.
# got: undef
# expected: '4'
# Failed test '$x->bdiv($y) = '3.33''
# at ./t/mbimbf.inc line 667.
# got: '3.333333333333333333333333333333333333333'
# expected: '3.33'
# Failed test '$x->{precision} = -2'
# at ./t/mbimbf.inc line 668.
# got: undef
# expected: '-2'
# Failed test '$x = "1.000"'
# at ./t/mbimbf.inc line 685.
# got: '1'
# expected: '1.000'
# Failed test '$x = "1.000"'
# at ./t/mbimbf.inc line 688.
# got: '1.00000'
# expected: '1.000'
# Failed test '$x->{accuracy} = 2'
# at ./t/mbimbf.inc line 701.
# got: '3'
# expected: '2'
# Failed test '$x->{accuracy} = 4'
# at ./t/mbimbf.inc line 710.
# got: undef
# expected: '4'
# Failed test '$x->{accuracy} = 3'
# at ./t/mbimbf.inc line 717.
# got: undef
# expected: '3'
# Failed test '$x->{accuracy} = 2'
# at ./t/mbimbf.inc line 725.
# got: '5'
# expected: '2'
# Failed test '$x->{accuracy} = 1'
# at ./t/mbimbf.inc line 733.
# got: '5'
# expected: '1'
# Failed test '$x->{accuracy} = 0'
# at ./t/mbimbf.inc line 740.
# got: undef
# expected: '0'
# Failed test '$x->{accuracy} = 0'
# at ./t/mbimbf.inc line 747.
# got: undef
# expected: '0'
# Failed test '$x->{accuracy} = 0'
# at ./t/mbimbf.inc line 755.
# got: '5'
# expected: '0'
# Failed test '$x = "1.00000"'
# at ./t/mbimbf.inc line 820.
# got: '1'
# expected: '1.00000'
# Failed test '$x->{precision} = -2'
# at ./t/mbimbf.inc line 825.
# got: '-5'
# expected: '-2'
# Failed test '$x->{accuracy} = 2'
# at ./t/mbimbf.inc line 830.
# got: '5'
# expected: '2'
# Failed test '$x->{accuracy} = 2'
# at ./t/mbimbf.inc line 835.
# got: '5'
# expected: '2'
# Failed test '$x->{accuracy} = 4'
# at ./t/mbimbf.inc line 842.
# got: undef
# expected: '4'
# Failed test '$x = Math::BigInt->new(2, 1); $x->{accuracy}'
# at ./t/mbimbf.inc line 1004.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2, undef, 1); $x->{precision}'
# at ./t/mbimbf.inc line 1011.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2, 1)->bzero(); $x->{accuracy}'
# at ./t/mbimbf.inc line 1016.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2, undef, 1)->bzero(); $x->{precision}'
# at ./t/mbimbf.inc line 1023.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2, 1)->bone(); $x->{accuracy}'
# at ./t/mbimbf.inc line 1028.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2, undef, 1)->bone(); $x->{precision}'
# at ./t/mbimbf.inc line 1035.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigInt->new(2); $x->{accuracy}'
# at ./t/mbimbf.inc line 1041.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigInt->new(2); $x->bone('+', undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1049.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigInt->new(2); $x->bone('-', 2, undef); $x->{accuracy}'
# at ./t/mbimbf.inc line 1055.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigInt->new(2); $x->bone('-', undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1063.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigInt->new(2);$x->bzero(2, undef); $x->{accuracy}'
# at ./t/mbimbf.inc line 1069.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigInt->new(2); $x->bzero(undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1077.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2, 1); $x->{accuracy}'
# at ./t/mbimbf.inc line 1004.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2, undef, 1); $x->{precision}'
# at ./t/mbimbf.inc line 1011.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2, 1)->bzero(); $x->{accuracy}'
# at ./t/mbimbf.inc line 1016.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2, undef, 1)->bzero(); $x->{precision}'
# at ./t/mbimbf.inc line 1023.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2, 1)->bone(); $x->{accuracy}'
# at ./t/mbimbf.inc line 1028.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2, undef, 1)->bone(); $x->{precision}'
# at ./t/mbimbf.inc line 1035.
# got: undef
# expected: '1'
# Failed test '$x = Math::BigFloat->new(2); $x->{accuracy}'
# at ./t/mbimbf.inc line 1041.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2); $x->bone('+', undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1049.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2); $x->bone('-', 2, undef); $x->{accuracy}'
# at ./t/mbimbf.inc line 1055.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2); $x->bone('-', undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1063.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2);$x->bzero(2, undef); $x->{accuracy}'
# at ./t/mbimbf.inc line 1069.
# got: undef
# expected: '2'
# Failed test '$x = Math::BigFloat->new(2); $x->bzero(undef, 2); $x->{precision}'
# at ./t/mbimbf.inc line 1077.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 3'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == -3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-3'
# Failed test '$x->{accuracy} == 4'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '4'
# Failed test '$x->{accuracy} == 4'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '4'
# Failed test '$x->{precision} == -4'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-4'
# Failed test '$x->{precision} == -4'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-4'
# Failed test '$x->{accuracy} == 4'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '4'
# Failed test '$x->{accuracy} == 4'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '4'
# Failed test '$x->{precision} == -4'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-4'
# Failed test '$x->{precision} == -4'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-4'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == -1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-1'
# Failed test '$x->{precision} == -1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '-1'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == 3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == 3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '3'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{precision} == 2'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '2'
# Failed test '$x->{precision} == 2'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 1'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == 3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '3'
# Failed test '$x->{precision} == 3'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '3'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{precision} == 1'
# at ./t/mbimbf.inc line 1325.
# got: undef
# expected: '1'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Failed test '$x->{accuracy} == 2'
# at ./t/mbimbf.inc line 1317.
# got: undef
# expected: '2'
# Looks like you planned 764 tests but ran 710.
# Looks like you failed 134 tests of 710 run.
t/mbimbf.t .....
Dubious, test returned 134 (wstat 34304, 0x8600)
Failed 188/764 subtests
(less 12 skipped subtests: 564 okay)
Test Summary Report
-------------------
t/mbimbf.t (Wstat: 34304 Tests: 710 Failed: 134)
Failed tests: 130-137, 139-146, 190-205, 208, 212, 251
253, 255, 258-259, 263-264, 269, 271, 276
278, 280, 282, 284, 286, 288, 290, 303
305, 307, 309, 311, 359, 362-363, 366-367
370-371, 374-375, 378-379, 382, 395, 398-399
402-403, 406-407, 410-411, 414-415, 418
479, 482, 485, 488, 493, 496, 499, 502
505, 508, 511, 514, 517, 520, 523, 526
531, 534, 537, 540, 543, 546, 549, 552
557, 560, 563, 566, 571, 574, 577, 580
585, 588, 591, 594, 599, 602, 605, 608
611, 614, 617, 620, 625, 628, 631, 634
639, 642, 645, 648, 655, 658
Non-zero exit status: 134
Parse errors: Bad plan. You planned 764 tests but ran 710.
Files=11, Tests=9247, 5 wallclock secs ( 1.12 usr 0.12 sys + 4.41 cusr 0.21 csys = 5.86 CPU)
Result: FAIL
Failed 1/11 test programs. 134/9247 subtests failed.
make: *** [Makefile:939: test_dynamic] Error 134
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.