Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Darith.sh463 (( 1.0/0.0 == Inf )) || err_exit '1.0/0.0 != Inf'
465 (( Inf*Inf == Inf )) || err_exit 'Inf*Inf != Inf'
467 (( -5*Inf == -Inf )) || err_exit '-5*Inf != -Inf'
469 (( pow(1.0,Inf) == 1.0 )) || err_exit 'pow(1.0,Inf) != 1.0'
470 (( pow(Inf,0.0) == 1.0 )) || err_exit 'pow(Inf,0.0) != 1.0'
471 [[ $(print -- $((NaN/Inf))) == ?(-)nan ]] || err_exit 'NaN/Inf != NaN'
472 (( 4.0/Inf == 0.0 )) || err_exit '4.0/Inf != 0.0'
473 else err_exit 'Inf and NaN not working'
/illumos-gate/usr/src/test/util-tests/tests/sleep/
H A Dsleeptest.ksh127 sleep_one Inf 0x7fffffff 0
128 sleep_one +Inf 0x7fffffff 0
/illumos-gate/usr/src/lib/libm/common/C/
H A D_SVID_error.c119 #undef Inf
120 #define Inf HUGE_VAL macro
190 ieee_retval = Inf; in _SVID_libm_err()
582 ieee_retval = copysign(Inf, x); in _SVID_libm_err()
919 ieee_retval = x > 0 ? Inf : -Inf; in _SVID_libm_err()
972 retv = zero * Inf; /* for Cheetah */ in setexception()
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dexpm1l.S55 fscale / +Inf, x
56 fstp %st(1) / +Inf
H A D__reduction.S53 cmpl $0x7ff00000,%eax / Is arg a NaN or an Inf ?
H A Dilogbf.S46 jae .bexp_all_1 / jump if x is NaN or Inf
H A Dilogb.S46 jae .bexp_all_1 / jump if x is NaN or Inf
H A Dnextafterf.S92 fmul %st(0),%st / overflow-to-Inf, z
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dexpm1l.S56 fscale / +Inf, x
57 fstp %st(1) / +Inf
/illumos-gate/usr/src/lib/libmvec/common/vis/
H A D__vatan.S481 sethi %hi(0x7ff00000),%g1 !upper word of Inf (we use 64-bit wide int for this)
487 sllx %g1,32,%g1 !left justify Inf
512 sethi %hi(0x7ff00000),%g1 !upper word of Inf (we use 64-bit wide int for this)
518 sllx %g1,32,%g1 !left justify Inf
543 sethi %hi(0x7ff00000),%g1 !upper word of Inf (we use 64-bit wide int for this)
549 sllx %g1,32,%g1 !left justify Inf
H A D__vpow.S888 ! !!!!! vpowx algorithm !!!!! (x > 0 and x != Inf, NaN)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Darith.c41 static Sfdouble_t NaN, Inf, Fun; variable
336 Inf = strtold("Inf", NiL); in arith()
337 Infnod.nvalue.ldp = &Inf; in arith()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DRELEASE1574 signs of { -NaN -Inf -0.0 } have been fixed.
1764 06-06-20 +Floating point division by zero now yields the constant Inf or -Inf
1766 06-06-20 +The floating point constants Inf and NaN can be used in arithmetic