/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | bigintpl.t | 31 abc:NaN 32 1 a:NaN 33 1bcd2:NaN 34 11111b:NaN 35 +1z:NaN 36 -1z:NaN 55 abd:NaN 62 abc:NaN 92 abc:abc:NaN 93 abc:+0:NaN [all...] |
H A D | bigfloatpl.t | 34 abc:NaN 35 1 a:NaN 36 1bcd2:NaN 37 11111b:NaN 38 +1z:NaN 39 -1z:NaN 57 123.456a:NaN 72 abd:NaN 81 abc:NaN 238 abc:abc:NaN [all...] |
H A D | bigrat.pm | 8 @EXPORT = qw( inf NaN ); 146 $self->export_to_level(1,$self,@a); # export inf and NaN 150 sub NaN () { Math::BigInt->bnan(); } subroutine 209 The sign is either '+', '-', 'NaN', '+inf' or '-inf' and stored seperately. 211 A sign of 'NaN' is used to represent the result when input arguments are not
|
H A D | bignum.pm | 7 @EXPORT = qw( inf NaN ); 170 $self->export_to_level(1,$self,@a); # export inf and NaN 174 sub NaN () { Math::BigInt->bnan(); } subroutine 191 print NaN * 3,"\n"; # prints NaN 388 =item NaN() 391 handle bareword C<NaN> properly. 432 The sign is either '+', '-', 'NaN', '+inf' or '-inf' and stored seperately. 435 A sign of 'NaN' is used to represent the result when input arguments are not
|
H A D | bigint.pm | 8 @EXPORT = qw( inf NaN ); 184 $self->export_to_level(1,$self,@a); # export inf and NaN 188 sub NaN () { Math::BigInt->bnan(); } subroutine 205 print NaN * 7,"\n"; # NaN 294 The sign is either '+', '-', 'NaN', '+inf' or '-inf' and stored seperately. 297 A sign of 'NaN' is used to represent the result when input arguments are not
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/ |
H A D | inf_nan.t | 3 # test inf/NaN handling all in one place 60 inf:-inf:NaN 61 NaN:-inf:NaN label 69 NaN:-1:NaN label 77 NaN:0:NaN label 85 NaN:1:NaN label 93 NaN:inf:NaN label 101 NaN:NaN:NaN label 127 NaN:-inf:NaN label 135 NaN:-1:NaN label 143 NaN:0:NaN label 151 NaN:1:NaN label 159 NaN:inf:NaN label 167 NaN:NaN:NaN label 193 NaN:-inf:NaN label 201 NaN:-1:NaN label 209 NaN:0:NaN label 217 NaN:1:NaN label 225 NaN:inf:NaN label 233 NaN:NaN:NaN label 260 NaN:-inf:NaN label 268 NaN:-1:NaN label 276 NaN:0:NaN label 284 NaN:1:NaN label 292 NaN:inf:NaN label 300 NaN:NaN:NaN label [all...] |
H A D | bigfltpm.inc | 201 ok ($class->fnan(),'NaN'); 230 # A and P set => NaN 232 $x->fsqrt(3); ok ($x,'NaN'); 276 0::NaN 277 -1::NaN 278 -2::NaN 280 2:-1:NaN 281 2:0:NaN 282 2:1:NaN 307 NaNfrsft:2:NaN [all...] |
H A D | upgrade.inc | 103 $try .= '$m = $m->bstr(); $m = "NaN" if !defined $m;'; 104 $try .= '$e = $e->bstr(); $e = "NaN" if !defined $e;'; 254 $e = "Illegal sign $x->{sign} (expected: '+', '-', '-inf', '+inf' or 'NaN'" 255 if $e eq '0' && $x->{sign} !~ /^(\+|-|\+inf|-inf|NaN)$/; 317 NaN:0 361 +inf:NaN: 362 NaN:inf: 363 -inf:NaN: 364 NaN:-inf: 369 0babc:NaN [all...] |
H A D | mbimbf.inc | 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'); [all...] |
H A D | bigintpm.inc | 89 $try .= '$m = $m->bstr(); $m = "NaN" if !defined $m;'; 90 $try .= '$e = $e->bstr(); $e = "NaN" if !defined $e;'; 454 ok ($class->new(" \n$c\n1"),'NaN'); 455 ok ($class->new("1 \n$c\n1"),'NaN'); 612 ok ($class->bnan(),'NaN'); 660 $e = "Illegal sign $x->{sign} (expected: '+', '-', '-inf', '+inf' or 'NaN'" 661 if $e eq '0' && $x->{sign} !~ /^(\+|-|\+inf|-inf|NaN)$/; 699 NaNlog:2:NaN 700 122:NaNlog:NaN 701 NaNlog1:NaNlog:NaN [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/ |
H A D | bigratpm.inc | 188 abc:abc:NaN 189 abc:5:NaN 190 5:abc:NaN 200 3:-5:NaN 201 inf:5:NaN 202 5:inf:NaN 203 -inf:5:NaN 204 5:-inf:NaN 207 NaN:NaN [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | arith.c | 38 static Sfdouble_t NaN, Inf, Fun; variable 49 "NaN", 321 NaN = strtold("NaN", NiL); 322 NaNnod.nvalue.ldp = &NaN;
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/ |
H A D | BigInt.pm | 10 # sign : +,-,NaN,+inf,-inf 154 my $nan = 'NaN'; # constants for easier life 538 $self->{value} = $CALC->_zero(); # for all the NaN cases 601 # create a bigint 'NaN', if given a BigInt, set it to 'NaN' 612 Carp::croak ("Tried to set $self to NaN in $class\::bnan()"); 627 delete $self->{_a}; delete $self->{_p}; # rounding NaN is silly 766 return $x->{sign} unless $x->{sign} eq '+inf'; # -inf, NaN 783 return $x->{sign} unless $x->{sign} eq '+inf'; # -inf, NaN 806 # return the sign of the number: +/-/-inf/+inf/NaN [all...] |
H A D | Complex.pm | 1372 if ($x =~ /^NaN[QS]?$/i) { 1386 if ($y =~ /^(NaN[QS]?)$/i) { 1408 } elsif ($y > 0 || $im =~ /^NaN[QS]?i$/i) { 1433 if ($t =~ /^NaN[QS]?$/i || $t =~ /^-?$Inf$/oi) {
|
H A D | BigRat.pm | 7 # sign : +,-,NaN,+inf,-inf 49 my $nan = 'NaN'; 114 # TODO: trap NaN, inf 121 # TODO: trap NaN, inf 187 # inf/inf => NaN 219 $self->{sign} = 'NaN'; 227 return $self->bnan() if $self->{sign} eq 'NaN'; 279 if ($x->{sign} !~ /^[+-]$/) # inf, NaN etc 295 if ($x->{sign} !~ /^[+-]$/) # inf, NaN etc 328 # no normalize for NaN, in [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/lib/Scalar/ |
H A D | Util.pm | 128 return 1 if ($] >= 5.008 and /^(Inf(inity)?|NaN)$/i) or ($] >= 5.006001 and /^Inf$/i);
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | config_h.SH | 2401 * available to check whether a double is finite (non-infinity non-NaN). 2408 * (non-infinity non-NaN). 2425 * FP_SNAN Signaling NaN (Not-a-Number) 2426 * FP_QNAN Quiet NaN (Not-a-Number) 2443 * FP_SNAN signaling NaN 2444 * FP_QNAN quiet NaN 2465 * FP_NAN NaN 2475 * FP_SNAN signaling NaN 2476 * FP_QNAN quiet NaN 2600 * available to check whether a double is finite (non-infinity non-NaN) [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/ |
H A D | Calc.pm | 39 my $nan = 'NaN'; 1373 # X == 0 => NaN 1375 # BASE 0 or 1 => NaN 1903 # if the gcd is not 1, then return NaN 2065 return undef for NaN 2070 X >= 0, N >= 0 (return undef for NaN)
|