Home
last modified time | relevance | path

Searched refs:Inf (Results 1 – 25 of 68) sorted by relevance

123

/openbsd-src/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Ddowngrade.t
H A Dbigrat.t
/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/t/
H A DTrig.t16 use Math::Trig 1.18 qw(:pi Inf);
309 ok(Inf() > $BigDouble); # This passes in netbsd-alpha.
310 ok(Inf() + $BigDouble > $BigDouble); # This coredumps in netbsd-alpha.
311 ok(Inf() + $BigDouble == Inf());
312 ok(Inf() - $BigDouble > $BigDouble);
313 ok(Inf() - $BigDouble == Inf());
314 ok(Inf() * $BigDouble > $BigDouble);
315 ok(Inf() * $BigDouble == Inf());
316 ok(Inf() / $BigDouble > $BigDouble);
317 ok(Inf() / $BigDouble == Inf());
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/Adapter/
H A DInflate.pm45 return bless {'Inf' => $inflate,
61 my $inf = $self->{Inf};
80 $self->{Inf}->inflateReset();
88 # $self->{Inf}->inflateCount();
94 $self->{Inf}->crc32();
100 $self->{Inf}->compressedBytes();
106 $self->{Inf}->uncompressedBytes();
112 $self->{Inf}->adler32();
118 ( $self->{Inf}->inflateSync(@_) == Z_OK)
127 $self->{Inf}
[all...]
H A DBunzip2.pm24 return bless {'Inf' => $inflate,
40 my $inf = $self->{Inf};
71 $self->{Inf} = $inf;
79 $self->{Inf}->compressedBytes();
85 $self->{Inf}->uncompressedBytes();
91 #$self->{Inf}->crc32();
97 #$self->{Inf}->adler32();
103 #( $self->{Inf}->inflateSync(@_) == BZ_OK)
/openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Duniqnum.t190 # Hard to know for sure what an Inf is going to be. Lets make one
191 my $Inf = 0 + 1E1000;
194 $Inf **= 1000;
195 last unless ( $NaN = $Inf - $Inf ) == $NaN;
198 is_deeply( [ uniqnum 0, 1, 12345, $Inf, -$Inf, $NaN, 0, $Inf, $NaN ],
199 [ 0, 1, 12345, $Inf, -$Inf,
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Ddowngrade.t
/openbsd-src/games/fortune/unstr/
H A Dunstr.c63 FILE *Inf, *Dataf; variable
77 if ((Inf = fopen(Infile, "r")) == NULL) in main()
95 (void) fclose(Inf); in main()
123 (void) fseek(Inf, ntohl(pos), SEEK_SET); in order_unstr()
127 sp = fgets(buf, sizeof buf, Inf); in order_unstr()
/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/
H A DComplex.pm17 our ($Inf, $ExpInf);
33 $Inf = "Inf";
61 $Inf = $DBL_MAX;
79 $Inf = $i;
83 $Inf = $DBL_MAX unless defined $Inf; # Oh well, close enough.
85 unless $Inf > $BIGGER_THAN_THIS;
952 my $ey_1 = $ey ? 1 / $ey : Inf();
969 my $ey_1 = $ey ? 1 / $ey : Inf();
1163 return $ex ? ($ex == $ExpInf ? Inf() : ($ex + 1/$ex)/2) : Inf();
1167 my $ex_1 = $ex ? 1 / $ex : Inf();
[all …]
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t108 ok(!isnan(42), "isnan Inf");
111 ok(!isfinite(Inf), "isfinite Inf");
112 ok(isinf(Inf), "isinf Inf");
113 ok(!isnan(Inf), "isnan Inf");
179 # because nan with payload zero == Inf (or == -Inf).
183 # These don't work on most platforms because == Inf (o
[all...]
H A Dexport.t161 Inf NaN
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dinfnan.t127 like($@, $f eq 'w' ? qr/Cannot compress Inf/: qr/Cannot pack Inf/,
132 like($@, $f eq 'w' ? qr/Cannot compress Inf/: qr/Cannot pack Inf/,
136 like($@, $f eq 'w' ? qr/Cannot compress -Inf/: qr/Cannot pack -Inf/,
141 like($@, $f eq 'w' ? qr/Cannot compress -Inf/: qr/Cannot pack -Inf/,
/openbsd-src/gnu/gcc/gcc/config/rs6000/
H A Ddarwin-ldouble-format8 Inf values, the least significant part is required to be one of +0.0
31 for +Inf and two for -Inf.
/openbsd-src/lib/libc/arch/sparc64/gen/
H A Dfixunsdfsi.S72 fcmped %f0, %f2 ! d < 2^63, or NaN, or -Inf?
116 fcmpes %f0, %f2 ! d < 2^63, or NaN, or -Inf?
/openbsd-src/gnu/llvm/libcxx/benchmarks/
H A Dformatter_float.bench.cpp63 enum class ValueE { Inf, Random }; enumerator
72 struct Value<ValueE::Inf> {
/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/
H A DChangeLog62 * Shuffle the Inf-guessing guesses a bit to try infinities first,
67 * In cosh() and sinh() more robustly produce Inf() when needed,
68 even when exp() seems to "stick" into DBL_MAX and not go to Inf.
198 * Add Inf() as an exportable sub, it returns the infinity
210 with 1e4 returning Inf(). Reported by Roberto Congiu.
233 * local()ize $! in the BEGIN block when looking for Inf.
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperldata.pod616 =head3 Special floating point: infinity (Inf) and not-a-number (NaN)
618 Floating point values include the special values C<Inf> and C<NaN>,
629 The general rule is that they are "contagious": C<Inf> plus one is
630 C<Inf>, and C<NaN> plus one is C<NaN>. Where things get interesting
631 is when you combine infinities and not-a-numbers: C<Inf> minus C<Inf>
632 and C<Inf> divided by C<Inf> are C<NaN> (while C<Inf> plus C<Inf> is
633 C<Inf> and C<Inf> times C<Inf> is C<Inf>). C<NaN> is also curious
637 Perl doesn't understand C<Inf> and C<NaN> as numeric literals, but
639 "Inf" + 1. (You can, however, import them from the POSIX extension;
640 C<use POSIX qw(Inf NaN);> and then use them as literals.)
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/bignum/t/
H A Dinfnan-bigint.t93 for my $inf (qw/ inf inF iNf iNF Inf InF INf INF
H A Dinfnan-bignum-mbf.t94 for my $inf (qw/ inf inF iNf iNF Inf InF INf INF
H A Dinfnan-bignum-mbr.t94 for my $inf (qw/ inf inF iNf iNF Inf InF INf INF
H A Dinfnan-bigrat.t93 for my $inf (qw/ inf inF iNf iNF Inf InF INf INF
H A Dinfnan-bigfloat.t93 for my $inf (qw/ inf inF iNf iNF Inf InF INf INF
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/
H A Dlli.rst104 Enable optimizations that assume no Inf values.
H A Dllc.rst109 Enable optimizations that assume no Inf values.
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/lib/
H A DPOSIX.pod771 =item C<Inf>
775 use POSIX qw(Inf);
776 my $pos_inf = +Inf; # Or just Inf.
777 my $neg_inf = -Inf;
836 See also L</Inf>, L</isnan>, L</isfinite>, and L</fpclassify>.
1640 since it might end up being identical to C<+Inf>.
2776 C<INFINITY> C<NAN> C<Inf> C<NaN>

123