Searched refs:zero (Results 1 - 21 of 21) sorted by relevance

/ast/src/lib/libast/uwin/
H A Dlog1p.c121 const static double zero=0.0, negone= -1.0, one=1.0, local
159 if ( x == negone ) return( negone/zero );
162 else return ( zero / zero );
170 return(zero/zero);
H A Dsupport.c86 static const double novf=1.7E38, nunf=3.0E-39, zero=0.0 ; variable
90 static const double novf=1.7E308, nunf=3.0E-308,zero=0.0; variable
106 if( x == zero ) return(x);
198 else if( x != zero)
201 return(-(1.0/zero));
272 if (p == zero) {
276 return zero/zero;
344 double const zero=0.0; local
353 if(x!=x||x==zero) retur
[all...]
H A Dlog.c60 * and log2_hi has 11 trailing zero bits.
70 * 1. when m, j are non-zero (m | j), use absolute
382 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; local
387 if (_IEEE && x == zero) /* log(0) = -Inf */
388 return (-one/zero);
390 return (zero/zero);
391 else if (x == zero) /* NOT REACHED IF _IEEE */
427 /* case 2: |1-x| < 1/256. The m- and j- dependent terms are zero;
H A Dexp__E.c117 const static double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; local
137 if(x!=zero) one+small; /* raise the inexact flag */
138 return(copysign(zero,x));
H A Dlgamma.c95 static double zero = 0.0, one = 1.0; variable
279 double y, z, one = 1.0, zero = 0.0; local
287 return(one/zero);
298 return (one/zero);
H A Dgamma.c131 static const double zero = 0., one = 1.0, tiny = 1e-300; variable
134 * TRUNC sets trailing bits in a floating-point number to zero.
154 return(one/zero);
310 return (one/zero);
/ast/src/cmd/tests/sfio/
H A Dtseek.c45 char zero[SF_BUFSIZE*2]; local
79 for(n = sizeof(zero)-1; n >= 0; --n)
80 zero[n] = 0;
81 if(sfwrite(f,zero,sizeof(zero)) != sizeof(zero))
/ast/src/cmd/re/
H A Ded.c140 Line_t* zero; member in struct:__anon200
389 if (!(ed.zero = newof(NiL, Line_t, ed.all, 0)))
390 error(ERROR_SYSTEM|3, "out of space [zero]");
455 ed.undo.dot = ed.dot - ed.zero;
456 ed.undo.dol = ed.dol - ed.zero;
478 a1 = ed.zero;
479 a3 = ed.zero + ed.all;
495 n = ed.dot - ed.zero;
496 ed.dot = ed.zero + ed.undo.dot;
498 n = ed.dol - ed.zero;
[all...]
H A DMakefile42 testdecomp.dat rxposix.dat zero.dat regex++.dat iso8859-1.dat \
/ast/src/cmd/ksh93/tests/
H A Darrays.sh43 set -A x zero one two three four 'five six'
44 if [[ $x != zero ]]
47 if [[ ${x[0]} != zero ]]
63 if [[ $y != zero ]]
66 if [[ ${y[0]} != zero ]]
248 foo=( zero one '' three four '' six)
283 [[ $foo == 0 ]] || err_exit 'zero element of associative array not being set'
471 a=(zero one two three four)
H A Dsubshell.sh607 print > /dev/null $( ( $head -c 1 /dev/zero | ( $wc -c) 3>&1 ) 3>&1) &
610 kill -9 $! 2> /dev/null && err_exit '/dev/zero in command substitution hangs'
/ast/src/lib/libbz/
H A Dblocksort.c483 if (j <= (h - 1)) goto zero;
485 zero:
/ast/src/cmd/nmake/
H A Dmake.h116 #define zero(x) memzero(&(x),sizeof(x)) macro
128 #define freerule(r) do{zero(*r);*((char**)r)=internal.freerules;internal.freerules=(char*)(r);}while(0)
132 #define newrule(r) do{if(r=(Rule_t*)internal.freerules){internal.freerules=(*((char**)r));zero(*r);}else r=(Rule_t*)newchunk(&internal.freerules,sizeof(Rule_t));}while(0)
H A Dcommand.c180 zero(lhs_rule);
181 zero(rhs_rule);
186 zero(lhs_frame);
H A Dparse.c2237 zero(clr);
2238 zero(set);
2598 zero(*r);
3209 zero(frame);
3239 * non-zero returned if target to be updated
H A Dobject.c782 zero(cs);
1497 zero(ls);
H A Dexpand.c2504 zero(frame);
H A Dmake.c458 zero(frame);
H A Drule.c809 zero(frame);
871 * return non-zero if r has builtin attribute a
H A DMakerules.mk1440 -e 's/^\([ ]*[.a-zA-Z0-9_$:]*[ ]*\.*\)zero[ ][ ]*/\1set .,.+/' \
/ast/src/cmd/sort/
H A Dtestsort.sh210 010) echo " \$@" warns, does not sort, and yields exit status zero ;;
307 then echo " $opt exit status zero, but no output"

Completed in 99 milliseconds