3 # test Math::BigFloat constants alone (w/o Math::BigInt loading)
8 use Test::More tests => 2;
10 use Math::BigFloat ':constant';
12 is(1.0 / 3.0, '0.3333333333333333333333333333333333333333',
13 "1.0 / 3.0 = 0.3333333333333333333333333333333333333333");
15 # Math::BigInt was not loaded with ':constant', so only floats are handled
16 is(ref(2 ** 2), '', "2 ** 2 is a scalar");