blob: eb4d5e10cb43e819b505e231aa7a42797e47a7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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
|