Moved Math-BigInt from lib/ to ext/
Chris Williams [Fri, 11 Sep 2009 09:11:50 +0000 (10:11 +0100)]
65 files changed:
MANIFEST
Porting/Maintainers.pl
ext/.gitignore
ext/Math-BigInt/lib/Math/BigFloat.pm [moved from lib/Math/BigFloat.pm with 100% similarity]
ext/Math-BigInt/lib/Math/BigInt.pm [moved from lib/Math/BigInt.pm with 100% similarity]
ext/Math-BigInt/lib/Math/BigInt/Calc.pm [moved from lib/Math/BigInt/Calc.pm with 100% similarity]
ext/Math-BigInt/lib/Math/BigInt/CalcEmu.pm [moved from lib/Math/BigInt/CalcEmu.pm with 100% similarity]
ext/Math-BigInt/t/Math/BigFloat/Subclass.pm [moved from t/lib/Math/BigFloat/Subclass.pm with 100% similarity]
ext/Math-BigInt/t/Math/BigInt/BareCalc.pm [moved from t/lib/Math/BigInt/BareCalc.pm with 100% similarity]
ext/Math-BigInt/t/Math/BigInt/Scalar.pm [moved from t/lib/Math/BigInt/Scalar.pm with 100% similarity]
ext/Math-BigInt/t/Math/BigInt/Subclass.pm [moved from t/lib/Math/BigInt/Subclass.pm with 100% similarity]
ext/Math-BigInt/t/_e_math.t [moved from lib/Math/BigInt/t/_e_math.t with 100% similarity]
ext/Math-BigInt/t/alias.inc [moved from lib/Math/BigInt/t/alias.inc with 100% similarity]
ext/Math-BigInt/t/bare_mbf.t [moved from lib/Math/BigInt/t/bare_mbf.t with 100% similarity]
ext/Math-BigInt/t/bare_mbi.t [moved from lib/Math/BigInt/t/bare_mbi.t with 100% similarity]
ext/Math-BigInt/t/bare_mif.t [moved from lib/Math/BigInt/t/bare_mif.t with 100% similarity]
ext/Math-BigInt/t/big_pi_e.t [moved from lib/Math/BigInt/t/big_pi_e.t with 100% similarity]
ext/Math-BigInt/t/bigfltpm.inc [moved from lib/Math/BigInt/t/bigfltpm.inc with 100% similarity]
ext/Math-BigInt/t/bigfltpm.t [moved from lib/Math/BigInt/t/bigfltpm.t with 100% similarity]
ext/Math-BigInt/t/bigintc.t [moved from lib/Math/BigInt/t/bigintc.t with 100% similarity]
ext/Math-BigInt/t/bigintpm.inc [moved from lib/Math/BigInt/t/bigintpm.inc with 100% similarity]
ext/Math-BigInt/t/bigintpm.t [moved from lib/Math/BigInt/t/bigintpm.t with 100% similarity]
ext/Math-BigInt/t/bigints.t [moved from lib/Math/BigInt/t/bigints.t with 100% similarity]
ext/Math-BigInt/t/biglog.t [moved from lib/Math/BigInt/t/biglog.t with 100% similarity]
ext/Math-BigInt/t/bigroot.t [moved from lib/Math/BigInt/t/bigroot.t with 100% similarity]
ext/Math-BigInt/t/calling.t [moved from lib/Math/BigInt/t/calling.t with 100% similarity]
ext/Math-BigInt/t/config.t [moved from lib/Math/BigInt/t/config.t with 100% similarity]
ext/Math-BigInt/t/const_mbf.t [moved from lib/Math/BigInt/t/const_mbf.t with 100% similarity]
ext/Math-BigInt/t/constant.t [moved from lib/Math/BigInt/t/constant.t with 100% similarity]
ext/Math-BigInt/t/downgrade.t [moved from lib/Math/BigInt/t/downgrade.t with 100% similarity]
ext/Math-BigInt/t/inf_nan.t [moved from lib/Math/BigInt/t/inf_nan.t with 100% similarity]
ext/Math-BigInt/t/isa.t [moved from lib/Math/BigInt/t/isa.t with 100% similarity]
ext/Math-BigInt/t/lib_load.t [moved from lib/Math/BigInt/t/lib_load.t with 100% similarity]
ext/Math-BigInt/t/mbf_ali.t [moved from lib/Math/BigInt/t/mbf_ali.t with 100% similarity]
ext/Math-BigInt/t/mbi_ali.t [moved from lib/Math/BigInt/t/mbi_ali.t with 100% similarity]
ext/Math-BigInt/t/mbi_rand.t [moved from lib/Math/BigInt/t/mbi_rand.t with 100% similarity]
ext/Math-BigInt/t/mbimbf.inc [moved from lib/Math/BigInt/t/mbimbf.inc with 100% similarity]
ext/Math-BigInt/t/mbimbf.t [moved from lib/Math/BigInt/t/mbimbf.t with 100% similarity]
ext/Math-BigInt/t/nan_cmp.t [moved from lib/Math/BigInt/t/nan_cmp.t with 100% similarity]
ext/Math-BigInt/t/new_ovld.t [moved from lib/Math/BigInt/t/new_ovld.t with 100% similarity]
ext/Math-BigInt/t/req_mbf0.t [moved from lib/Math/BigInt/t/req_mbf0.t with 100% similarity]
ext/Math-BigInt/t/req_mbf1.t [moved from lib/Math/BigInt/t/req_mbf1.t with 100% similarity]
ext/Math-BigInt/t/req_mbfa.t [moved from lib/Math/BigInt/t/req_mbfa.t with 100% similarity]
ext/Math-BigInt/t/req_mbfi.t [moved from lib/Math/BigInt/t/req_mbfi.t with 100% similarity]
ext/Math-BigInt/t/req_mbfn.t [moved from lib/Math/BigInt/t/req_mbfn.t with 100% similarity]
ext/Math-BigInt/t/req_mbfw.t [moved from lib/Math/BigInt/t/req_mbfw.t with 100% similarity]
ext/Math-BigInt/t/require.t [moved from lib/Math/BigInt/t/require.t with 100% similarity]
ext/Math-BigInt/t/round.t [moved from lib/Math/BigInt/t/round.t with 100% similarity]
ext/Math-BigInt/t/sub_ali.t [moved from lib/Math/BigInt/t/sub_ali.t with 100% similarity]
ext/Math-BigInt/t/sub_mbf.t [moved from lib/Math/BigInt/t/sub_mbf.t with 100% similarity]
ext/Math-BigInt/t/sub_mbi.t [moved from lib/Math/BigInt/t/sub_mbi.t with 100% similarity]
ext/Math-BigInt/t/sub_mif.t [moved from lib/Math/BigInt/t/sub_mif.t with 100% similarity]
ext/Math-BigInt/t/trap.t [moved from lib/Math/BigInt/t/trap.t with 100% similarity]
ext/Math-BigInt/t/upgrade.inc [moved from lib/Math/BigInt/t/upgrade.inc with 100% similarity]
ext/Math-BigInt/t/upgrade.t [moved from lib/Math/BigInt/t/upgrade.t with 100% similarity]
ext/Math-BigInt/t/upgradef.t [moved from lib/Math/BigInt/t/upgradef.t with 100% similarity]
ext/Math-BigInt/t/use.t [moved from lib/Math/BigInt/t/use.t with 100% similarity]
ext/Math-BigInt/t/use_lib1.t [moved from lib/Math/BigInt/t/use_lib1.t with 100% similarity]
ext/Math-BigInt/t/use_lib2.t [moved from lib/Math/BigInt/t/use_lib2.t with 100% similarity]
ext/Math-BigInt/t/use_lib3.t [moved from lib/Math/BigInt/t/use_lib3.t with 100% similarity]
ext/Math-BigInt/t/use_lib4.t [moved from lib/Math/BigInt/t/use_lib4.t with 100% similarity]
ext/Math-BigInt/t/use_mbfw.t [moved from lib/Math/BigInt/t/use_mbfw.t with 100% similarity]
ext/Math-BigInt/t/with_sub.t [moved from lib/Math/BigInt/t/with_sub.t with 100% similarity]
lib/.gitignore
t/TEST

index 1216b65..b06e0d2 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1622,6 +1622,66 @@ ext/Math-BigInt-FastCalc/t/bigintfc.t    Math::BigInt::FastCalc extension
 ext/Math-BigInt-FastCalc/t/bootstrap.t Math::BigInt::FastCalc extension
 ext/Math-BigInt-FastCalc/t/leak.t      test for memory leaks in Math::BigInt::FastCalc
 ext/Math-BigInt-FastCalc/t/mbi_rand.t  Math::BigInt::FastCalc extension
+ext/Math-BigInt/lib/Math/BigFloat.pm           An arbitrary precision floating-point arithmetic package
+ext/Math-BigInt/lib/Math/BigInt/CalcEmu.pm     Pure Perl module to support Math::BigInt
+ext/Math-BigInt/lib/Math/BigInt/Calc.pm                Pure Perl module to support Math::BigInt
+ext/Math-BigInt/lib/Math/BigInt.pm             An arbitrary precision integer arithmetic package
+ext/Math-BigInt/t/alias.inc    Support for BigInt tests
+ext/Math-BigInt/t/bare_mbf.t   Test MBF under Math::BigInt::BareCalc
+ext/Math-BigInt/t/bare_mbi.t   Test MBI under Math::BigInt::BareCalc
+ext/Math-BigInt/t/bare_mif.t   Rounding tests under BareCalc
+ext/Math-BigInt/t/bigfltpm.inc Shared tests for bigfltpm.t and sub_mbf.t
+ext/Math-BigInt/t/bigfltpm.t   See if BigFloat.pm works
+ext/Math-BigInt/t/bigintc.t    See if BigInt/Calc.pm works
+ext/Math-BigInt/t/bigintpm.inc Shared tests for bigintpm.t and sub_mbi.t
+ext/Math-BigInt/t/bigintpm.t   See if BigInt.pm works
+ext/Math-BigInt/t/bigints.t    See if BigInt.pm works
+ext/Math-BigInt/t/biglog.t     Test the log function
+ext/Math-BigInt/t/big_pi_e.t   test bpi() and bexp()
+ext/Math-BigInt/t/bigroot.t    Test the broot function
+ext/Math-BigInt/t/calling.t    Test calling conventions
+ext/Math-BigInt/t/config.t     Test Math::BigInt->config()
+ext/Math-BigInt/t/constant.t   Test Math::BigInt/BigFloat under :constant
+ext/Math-BigInt/t/const_mbf.t  Test Math::BigInt
+ext/Math-BigInt/t/downgrade.t  Test if use Math::BigInt(); under downgrade works
+ext/Math-BigInt/t/_e_math.t    Helper routine in BigFloat for _e math
+ext/Math-BigInt/t/inf_nan.t    Special tests for inf and *NaN* handling
+ext/Math-BigInt/t/isa.t                Test for Math::BigInt inheritance
+ext/Math-BigInt/t/lib_load.t   Test sane lib names
+ext/Math-BigInt/t/Math/BigFloat/Subclass.pm    Empty subclass of BigFloat for test
+ext/Math-BigInt/t/Math/BigInt/BareCalc.pm      Bigint's simulation of Calc
+ext/Math-BigInt/t/Math/BigInt/Scalar.pm        Pure Perl module to support Math::BigInt
+ext/Math-BigInt/t/Math/BigInt/Subclass.pm      Empty subclass of BigInt for test
+ext/Math-BigInt/t/mbf_ali.t    Tests for BigFloat
+ext/Math-BigInt/t/mbi_ali.t    Tests for BigInt
+ext/Math-BigInt/t/mbimbf.inc   Actual BigInt/BigFloat accuracy, precision and fallback, round_mode tests
+ext/Math-BigInt/t/mbimbf.t     BigInt/BigFloat accuracy, precision and fallback, round_mode
+ext/Math-BigInt/t/mbi_rand.t   Test Math::BigInt randomly
+ext/Math-BigInt/t/nan_cmp.t    overloaded comparision involving *NaN*
+ext/Math-BigInt/t/new_ovld.t   test overloaded numbers in BigFloat's new()
+ext/Math-BigInt/t/req_mbf0.t   test: require Math::BigFloat; ->bzero();
+ext/Math-BigInt/t/req_mbf1.t   test: require Math::BigFloat; ->bone();
+ext/Math-BigInt/t/req_mbfa.t   test: require Math::BigFloat; ->bnan();
+ext/Math-BigInt/t/req_mbfi.t   test: require Math::BigFloat; ->binf();
+ext/Math-BigInt/t/req_mbfn.t   test: require Math::BigFloat; ->new();
+ext/Math-BigInt/t/req_mbfw.t   require Math::BigFloat; import ( with => );
+ext/Math-BigInt/t/require.t    Test if require Math::BigInt works
+ext/Math-BigInt/t/round.t      Test rounding with non-integer A and P
+ext/Math-BigInt/t/sub_ali.t    Tests for aliases in BigInt subclasses
+ext/Math-BigInt/t/sub_mbf.t    Empty subclass test of BigFloat
+ext/Math-BigInt/t/sub_mbi.t    Empty subclass test of BigInt
+ext/Math-BigInt/t/sub_mif.t    Test A & P with subclasses using mbimbf.inc
+ext/Math-BigInt/t/trap.t       Test whether trap_nan and trap_inf work
+ext/Math-BigInt/t/upgradef.t   Test if use Math::BigFloat(); under upgrade works
+ext/Math-BigInt/t/upgrade.inc  Actual tests for upgrade.t
+ext/Math-BigInt/t/upgrade.t    Test if use Math::BigInt(); under upgrade works
+ext/Math-BigInt/t/use_lib1.t   Test combinations of Math::BigInt and BigFloat
+ext/Math-BigInt/t/use_lib2.t   Test combinations of Math::BigInt and BigFloat
+ext/Math-BigInt/t/use_lib3.t   Test combinations of Math::BigInt and BigFloat
+ext/Math-BigInt/t/use_lib4.t   Test combinations of Math::BigInt and BigFloat
+ext/Math-BigInt/t/use_mbfw.t   use BigFloat w/ with and lib at the same time
+ext/Math-BigInt/t/use.t                Test if use Math::BigInt(); works
+ext/Math-BigInt/t/with_sub.t   Test use Math::BigFloat with => package
 ext/Math-BigRat/lib/Math/BigRat.pm             Math::BigRat
 ext/Math-BigRat/t/big_ap.t             Math::BigRat test
 ext/Math-BigRat/t/bigfltpm.inc         Math::BigRat test
@@ -2839,62 +2899,6 @@ lib/Locale/Script.pm             Locale::Codes
 lib/Locale/Script.pod          Locale::Codes documentation
 lib/locale.t                   See if locale support works
 lib/look.pl                    A "look" equivalent
-lib/Math/BigFloat.pm           An arbitrary precision floating-point arithmetic package
-lib/Math/BigInt/CalcEmu.pm     Pure Perl module to support Math::BigInt
-lib/Math/BigInt/Calc.pm                Pure Perl module to support Math::BigInt
-lib/Math/BigInt.pm             An arbitrary precision integer arithmetic package
-lib/Math/BigInt/t/alias.inc    Support for BigInt tests
-lib/Math/BigInt/t/bare_mbf.t   Test MBF under Math::BigInt::BareCalc
-lib/Math/BigInt/t/bare_mbi.t   Test MBI under Math::BigInt::BareCalc
-lib/Math/BigInt/t/bare_mif.t   Rounding tests under BareCalc
-lib/Math/BigInt/t/bigfltpm.inc Shared tests for bigfltpm.t and sub_mbf.t
-lib/Math/BigInt/t/bigfltpm.t   See if BigFloat.pm works
-lib/Math/BigInt/t/bigintc.t    See if BigInt/Calc.pm works
-lib/Math/BigInt/t/bigintpm.inc Shared tests for bigintpm.t and sub_mbi.t
-lib/Math/BigInt/t/bigintpm.t   See if BigInt.pm works
-lib/Math/BigInt/t/bigints.t    See if BigInt.pm works
-lib/Math/BigInt/t/biglog.t     Test the log function
-lib/Math/BigInt/t/big_pi_e.t   test bpi() and bexp()
-lib/Math/BigInt/t/bigroot.t    Test the broot function
-lib/Math/BigInt/t/calling.t    Test calling conventions
-lib/Math/BigInt/t/config.t     Test Math::BigInt->config()
-lib/Math/BigInt/t/constant.t   Test Math::BigInt/BigFloat under :constant
-lib/Math/BigInt/t/const_mbf.t  Test Math::BigInt
-lib/Math/BigInt/t/downgrade.t  Test if use Math::BigInt(); under downgrade works
-lib/Math/BigInt/t/_e_math.t    Helper routine in BigFloat for _e math
-lib/Math/BigInt/t/inf_nan.t    Special tests for inf and *NaN* handling
-lib/Math/BigInt/t/isa.t                Test for Math::BigInt inheritance
-lib/Math/BigInt/t/lib_load.t   Test sane lib names
-lib/Math/BigInt/t/mbf_ali.t    Tests for BigFloat
-lib/Math/BigInt/t/mbi_ali.t    Tests for BigInt
-lib/Math/BigInt/t/mbimbf.inc   Actual BigInt/BigFloat accuracy, precision and fallback, round_mode tests
-lib/Math/BigInt/t/mbimbf.t     BigInt/BigFloat accuracy, precision and fallback, round_mode
-lib/Math/BigInt/t/mbi_rand.t   Test Math::BigInt randomly
-lib/Math/BigInt/t/nan_cmp.t    overloaded comparision involving *NaN*
-lib/Math/BigInt/t/new_ovld.t   test overloaded numbers in BigFloat's new()
-lib/Math/BigInt/t/req_mbf0.t   test: require Math::BigFloat; ->bzero();
-lib/Math/BigInt/t/req_mbf1.t   test: require Math::BigFloat; ->bone();
-lib/Math/BigInt/t/req_mbfa.t   test: require Math::BigFloat; ->bnan();
-lib/Math/BigInt/t/req_mbfi.t   test: require Math::BigFloat; ->binf();
-lib/Math/BigInt/t/req_mbfn.t   test: require Math::BigFloat; ->new();
-lib/Math/BigInt/t/req_mbfw.t   require Math::BigFloat; import ( with => );
-lib/Math/BigInt/t/require.t    Test if require Math::BigInt works
-lib/Math/BigInt/t/round.t      Test rounding with non-integer A and P
-lib/Math/BigInt/t/sub_ali.t    Tests for aliases in BigInt subclasses
-lib/Math/BigInt/t/sub_mbf.t    Empty subclass test of BigFloat
-lib/Math/BigInt/t/sub_mbi.t    Empty subclass test of BigInt
-lib/Math/BigInt/t/sub_mif.t    Test A & P with subclasses using mbimbf.inc
-lib/Math/BigInt/t/trap.t       Test whether trap_nan and trap_inf work
-lib/Math/BigInt/t/upgradef.t   Test if use Math::BigFloat(); under upgrade works
-lib/Math/BigInt/t/upgrade.inc  Actual tests for upgrade.t
-lib/Math/BigInt/t/upgrade.t    Test if use Math::BigInt(); under upgrade works
-lib/Math/BigInt/t/use_lib1.t   Test combinations of Math::BigInt and BigFloat
-lib/Math/BigInt/t/use_lib2.t   Test combinations of Math::BigInt and BigFloat
-lib/Math/BigInt/t/use_lib3.t   Test combinations of Math::BigInt and BigFloat
-lib/Math/BigInt/t/use_lib4.t   Test combinations of Math::BigInt and BigFloat
-lib/Math/BigInt/t/use_mbfw.t   use BigFloat w/ with and lib at the same time
-lib/Math/BigInt/t/use.t                Test if use Math::BigInt(); works
-lib/Math/BigInt/t/with_sub.t   Test use Math::BigFloat with => package
 lib/Module/Build/API.pod       Module::Build
 lib/Module/Build/Authoring.pod Module::Build
 lib/Module/Build/Base.pm       Module::Build
@@ -4121,10 +4125,6 @@ t/lib/locale/latin1              Part of locale.t in Latin 1
 t/lib/locale/utf8              Part of locale.t in UTF8
 t/lib/maintainers.t            Test that Porting/Maintaners.pl is up to date
 t/lib/manifest.t               Test that this MANIFEST file is well formed
-t/lib/Math/BigFloat/Subclass.pm        Empty subclass of BigFloat for test
-t/lib/Math/BigInt/BareCalc.pm  Bigint's simulation of Calc
-t/lib/Math/BigInt/Scalar.pm    Pure Perl module to support Math::BigInt
-t/lib/Math/BigInt/Subclass.pm  Empty subclass of BigInt for test
 t/lib/mypragma.pm              An example user pragma
 t/lib/mypragma.t               Test the example user pragma
 t/lib/no_load.t                        Test that some modules don't load others
index 84b408d..71e6697 100755 (executable)
@@ -928,13 +928,7 @@ use File::Glob qw(:case);
        {
        'MAINTAINER'    => 'tels',
        'DISTRIBUTION'  => 'TELS/math/Math-BigInt-1.89.tar.gz',
-       'FILES'         => q[lib/Math/BigInt.pm
-                            lib/Math/BigInt
-                            !lib/Math/BigInt/Trace.pm
-                            t/lib/Math/BigInt/
-                            t/lib/Math/BigFloat/
-                            lib/Math/BigFloat.pm
-                           ],
+       'FILES'         => q[ext/Math-BigInt],
        'EXCLUDED'      => [ qr{^inc/},
                             qr{^examples/},
                             qw{t/pod.t
@@ -942,10 +936,9 @@ use File::Glob qw(:case);
                               }
                           ],
        'MAP'           => { 'lib/'    => 'lib/',
-                            't/Math/' => 't/lib/Math/',
                             ''        => 'lib/Math/BigInt/',
                             't/new_overloaded.t' =>
-                                       'lib/Math/BigInt/t/new_ovld.t',
+                                        't/new_ovld.t',
                           },
        'CPAN'          => 1,
        'UPSTREAM'      => undef,
index 0b96497..ff936f8 100644 (file)
@@ -47,8 +47,9 @@ ppport.h
 /IPC-Open3/Makefile.PL
 /Log-Message/Makefile.PL
 /Log-Message-Simple/Makefile.PL
-/Math-BigRat/Makefile.PL
+/Math-BigInt/Makefile.PL
 /Math-BigInt-FastCalc/Makefile.PL
+/Math-BigRat/Makefile.PL
 /Math-Complex/Makefile.PL
 /Memoize/Makefile.PL
 /Module-Load/Makefile.PL
index f102550..4176521 100644 (file)
 /Log/Message/Item.pm
 /Log/Message/Simple.pm
 /MIME
+/Math
+/Math/BigFloat
+/Math/BigFloat.pm
+/Math/BigFloat/Trace.pm
+/Math/BigInt
+/Math/BigInt.pm
+/Math/BigInt/Calc.pm
+/Math/BigInt/CalcEmu.pm
 /Math/BigInt/FastCalc.pm
 /Math/BigInt/Trace.pm
-/Math/BigFloat/Trace.pm
 /Math/BigRat.pm
 /Math/Complex.pm
 /Math/Trig.pm
diff --git a/t/TEST b/t/TEST
index 5ceb6da..7b0f0eb 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -30,6 +30,7 @@ my %temp_no_core =
      '../ext/Devel-PPPort' => 1,
      '../ext/IO-Compress' => 1,
      '../ext/IPC-SysV' => 1,
+     '../ext/Math-BigInt' => 1,
      '../ext/Math-BigRat' => 1,
      '../ext/MIME-Base64' => 1,
      '../ext/Parse-CPAN-Meta' => 1,