Searched refs:NaN (Results 1 - 22 of 22) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dbigintpl.t31 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 Dbigfloatpl.t34 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 Dbigrat.pm8 @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 Dbignum.pm7 @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 Dbigint.pm8 @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
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dinf_nan.t3 # 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 Dbigfltpm.inc201 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 Dupgrade.inc103 $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 Dmbimbf.inc169 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 Dbigintpm.inc89 $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...]
/opensolaris-onvv-gate/usr/src/head/
H A Dnan.h100 * i.e. that number is a NaN or an infinity
128 #define NaN(X) (((dnan *)&(X))->nan_parts.exponent == 0x7ff) macro
129 #define KILLNaN(X) if (NaN(X)) KILLFPE()
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dbigratpm.inc188 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...]
/opensolaris-onvv-gate/usr/src/lib/libshell/common/sh/
H A Darith.c37 static Sfdouble_t NaN, Inf, Fun; variable
48 "NaN",
227 NaN = strtold("NaN", NiL);
228 NaNnod.nvalue.ldp = &NaN;
/opensolaris-onvv-gate/usr/src/lib/libshell/common/tests/
H A Darith.sh464 [[ $(print -- $((0.0/0.0))) == ?(-)nan ]] || err_exit '0.0/0.0 != NaN'
466 (( NaN != NaN )) || err_exit 'NaN == NaN'
468 [[ $(print -- $((sqrt(-1.0)))) == ?(-)nan ]]|| err_exit 'sqrt(-1.0) != NaN'
471 [[ $(print -- $((NaN/Inf))) == ?(-)nan ]] || err_exit 'NaN/Inf != NaN'
473 else err_exit 'Inf and NaN no
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigInt.pm10 # 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 DComplex.pm1372 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 DBigRat.pm7 # 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...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/lib/Scalar/
H A DUtil.pm128 return 1 if ($] >= 5.008 and /^(Inf(inity)?|NaN)$/i) or ($] >= 5.006001 and /^Inf$/i);
/opensolaris-onvv-gate/usr/src/uts/sparc/v9/ml/
H A Dfloat.s154 * Clear the fsr and initialize registers to NaN (-1)
171 mov -1, %g2 ! -1 is NaN
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Dconfig_h.SH2401 * 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...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/
H A DCalc.pm39 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)
/opensolaris-onvv-gate/usr/src/lib/libshell/common/scripts/
H A Dshpiano.sh88 ["p"]=( float freq=NaN ; typeset sample_set="false" ; typeset -b sample )

Completed in 152 milliseconds