Lines Matching refs:NaN
169 ok ($x->copy()->round(5,2),'NaN');
174 ok ($x->round(5,2),'NaN');
398 # these should warn, since '3.17' is a NaN in BigInt and thus >= returns undef
666 ok ($x->is_nan(),1); # and must be NaN
673 ok ($x->is_nan(),1); # and must be NaN
728 # check whether mixing A and P creates a NaN
735 ok ($c->new(123,4,-3),'NaN'); # with parameters
738 ok ($c->new(123),'NaN'); # with globals
754 print "# Tried: '$try'\n" if !ok ($rc, 'NaN');
763 print "# Tried: '$try'\n" if !ok ($rc, 'NaN');
873 $e = "Illegal sign $x->{sign} (expected: '+', '-', '-inf', '+inf' or 'NaN'"
874 if $e eq '0' && $x->{sign} !~ /^(\+|-|\+inf|-inf|NaN)$/;