3 # test BigFloat constants alone (w/o BigInt loading)
11 # to locate the testing files
12 my $location = $0; $location =~ s/const_mbf.t//i;
15 # testing with the core distribution
18 unshift @INC, qw(../lib);
23 unshift @INC, File::Spec->catdir(File::Spec->updir, $location);
27 unshift @INC, $location;
29 print "# INC = @INC\n";
34 use Math::BigFloat ':constant';
36 ok (1.0 / 3.0, '0.3333333333333333333333333333333333333333');
38 # BigInt was not loadede with ':constant', so only floats are handled