summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/cpan/Math-BigInt/t/req_mbfi.t
blob: 9db1e9ab846a1be6df361cf4e36e1778c31f9ec0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl

# check that simple requiring Math::BigFloat and then binf() works

use strict;
use warnings;

use Test::More tests => 1;

require Math::BigFloat;

my $x = Math::BigFloat->binf();
is($x, 'inf', '$x is inf');

# all tests done