This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document string- and number-specific bitops in perlop
[perl5.git] / dist / Math-BigInt / t / use_lib3.t
CommitLineData
56b9c951
JH
1#!/usr/bin/perl -w
2
3# see if using Math::BigInt and Math::BigFloat works together nicely.
4# all use_lib*.t should be equivalent
5
6use strict;
3167abe5 7use Test::More tests => 2;
56b9c951 8
3167abe5 9BEGIN { unshift @INC, 't'; }
56b9c951
JH
10
11use Math::BigInt lib => 'BareCalc';
12use Math::BigFloat;
13
3167abe5 14is (Math::BigInt->config()->{lib},'Math::BigInt::BareCalc');
56b9c951 15
3167abe5 16is (Math::BigFloat->new(123)->badd(123),246);