The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!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