perl

 view release on metacpan or  search on metacpan

cpan/Math-BigInt/t/req_mbfa.t  view on Meta::CPAN

# -*- mode: perl; -*-

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

use strict;
use warnings;

use Test::More tests => 1;

require Math::BigFloat;

my $x = Math::BigFloat->bnan(1);
is($x, 'NaN', '$x is NaN');

# all tests done

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.430 second using v1.00-cache-2.02-grep-82fe00e-cpan-dad7e4baca0 )