The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl -w 

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

use strict;
use Test::More tests => 1;

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

# all tests done