/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | ldexp.c | 34 * double ldexp (value, exp) 36 * int exp; 38 * Ldexp returns value * 2**exp, if that result is in range. 56 ldexp(value, exp) 58 register int exp; 62 if (exp == 0 || value == 0.0) /* nothing to do for zero */ 69 if (exp > 0) { 70 if (exp + old_exp > MAXBEXP) { /* overflow */ 77 for ( ; exp > MAXSHIFT; exp [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | lexp10.c | 37 lexp10(dl_t exp) argument 43 while (exp.dl_hop != 0 || exp.dl_lop != 0) { 45 exp = lsub(exp, lone);
|
H A D | _ftoll.c | 49 int exp; /* exponent */ local 67 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; 68 if (exp < 0) { 70 } else if (exp > 62) { 74 if (i0 >= 0 || exp != 63 || (i0 & 0xfffff) != 0 || i1 != 0) { 95 * Shift right by (62 - exp) bits. 97 switch (exp) { 105 if (exp > 30) { 106 m1 = (m0 << (exp - 30)) | 107 (m1 >> (62 - exp)) 134 int exp; /* exponent */ local 219 int exp; /* exponent */ local [all...] |
H A D | _ftoull.c | 53 int exp; /* exponent */ local 71 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; 72 if (exp < 0) { 75 } else if (exp > 63) { 95 * Shift right by (63 - exp) bits. 97 switch (exp) { 105 if (exp > 31) { 106 m1 = (m0 << (exp - 31)) | (m1 >> (63 - exp)); 107 m0 = (m0 >> (63 - exp)); 141 int exp; /* exponent */ local 229 int exp; /* exponent */ local [all...] |
/illumos-gate/usr/src/cmd/sgs/prof/common/ |
H A D | debug.h | 43 #define DEBUG_EXP(exp) exp; fflush(stdout) 46 #define NO_DEBUG(exp) 51 #define DEBUG_EXP(exp) 54 #define NO_DEBUG(exp)
|
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | cbrt.c | 34 return(exp(log(x)/3.0));
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astmath.c | 45 int exp = 0; local 49 return ldexpl(value, exp) != 0; 52 return ldexp(value, exp) != 0; 55 return frexpl(value, &exp) != 0; 58 return frexp(value, &exp) != 0;
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfdlen.c | 39 int exp; local 46 v = frexpl(v,&exp); 47 else exp = 0; 57 return 1 + sfulen(exp) + w;
|
H A D | _sfputd.c | 40 int exp; local 60 v = frexpl(v,&exp); 61 else exp = 0; 63 /* code the sign of v and exp */ 64 if((w = exp) < 0) 69 /* write out the signs and the exp */
|
H A D | sfgetd.c | 37 reg int p, sign, exp; local 43 if((sign = sfgetc(f)) < 0 || (exp = (int)sfgetu(f)) < 0) 73 v = ldexpl(v,(sign&02) ? -exp : exp);
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sigchld.sh | 84 exp='running=0 maxrunning='$jobmax 85 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected '$exp', got '$got'" 108 exp='c\nc 3 3\nb\nb 2 2\na\na 1 1' 109 [[ $got == $exp ]] || err_exit "SIGCHLD trap queueing failed -- expected $(printf %q "$exp"), got $(printf %q "$got")"
|
H A D | path.sh | 166 do exp="$cmd found" 167 print print $exp > $cmd 170 [[ $got == $exp ]] && err_exit "$cmd as last command should not find ./$cmd with PATH=/dev/null" 172 [[ $got == $exp ]] && err_exit "$cmd should not find ./$cmd with PATH=/dev/null" 173 exp=$PWD/./$cmd 175 [[ $got == $exp ]] || err_exit "whence $cmd should find ./$cmd with PATH=/dev/null" 176 exp=$PWD/$cmd 178 [[ $got == $exp ]] || err_exit "whence \$PWD/$cmd should find ./$cmd with PATH=/dev/null" 181 exp='' 183 [[ $got == $exp ]] || err_exi [all...] |
H A D | subshell.sh | 166 exp=$3 173 elif [[ "$got" != "$exp" ]] 174 then EXP=$(printf %q "$exp") 258 exp=0 265 exit '$exp$' 268 [[ $got == $exp ]] || err_exit "getopts --man runtime callout with nonzero exit terminates shell -- expected '$exp', got '$got'" 269 exp=ok 276 print '$exp$' 278 [[ $got == $exp ]] || err_exi [all...] |
H A D | cubetype.sh | 57 exp=3 got=${b.x} 58 [[ "$got" == "$exp" ]] || err_exit "\${b.x} incorrect for iteration $i -- expected $exp, got '$got'" 59 exp=5 got=$(( b.len )) 60 (( got == exp )) || err_exit "b.len incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'" 61 exp=5 got=${b.len} 62 [[ "$got" == "$exp" ]] || err_exit "\${b.len} incorrect for iteration $i -- expected $exp, got '$got = sqrt(${b.x}*${b.x}+${b.y}*${b.y})'" 63 exp [all...] |
H A D | coprocess.sh | 106 exp=Done 107 print -p $'print hello | cat\nprint '$exp 111 if [[ $got != $exp ]] 112 then err_exit "${SHELL-ksh} coprocess io failed -- got '$got', expected '$exp'" 245 exp=ksh 251 [[ $got == $exp ]] || err_exit "coshell(3) identification sequence failed -- expected '$exp', got '$got'" 259 exp=ok 267 [[ $got == $exp ]] || err_exit "main coprocess main query failed -- expected $exp, go [all...] |
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr_float.c | 139 int exp = 0; local 155 --exp; 159 ++exp; 161 if ((exp > 128) || (exp < -127)) { 167 val += 127 + exp; /* 127 is the bias */ 186 exp = (val & 0x7f800000) >> 23; 187 exp -= 127; /* subtract exponent base */ 192 while (exp != 0) { 193 if (exp < 227 int exp = 0; local [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | frexpf.c | 35 __frexpf(float x, int *exp) { argument 47 *exp = 0; 54 *exp = 0; 66 *exp = e + (hx >> 23) - 0x7e;
|
H A D | frexpl.c | 37 __frexpl(long double x, int *exp) { argument 49 *exp = 0; 56 *exp = 0; 81 *exp = e + (hx >> 16) - 0x3ffe; 88 __frexpl(long double x, int *exp) { argument 100 *exp = 0; 107 *exp = 0; 119 *exp = e + hx - 0x3ffe;
|
H A D | frexp.c | 33 * frexp(x, exp) returns the normalized significand of x and sets 34 * *exp so that x = r*2^(*exp) where r is the return value. If x 37 * If x is zero, infinite or NaN, frexp returns x and sets *exp = 0. 38 * (The relevant standards do not specify *exp when x is infinite or 49 __frexp(double x, int *exp) { argument 62 *exp = 0; 69 *exp = 0; 99 *exp = e + (hx >> 20) - 0x3fe;
|
/illumos-gate/usr/src/uts/sun4u/starcat/sys/post/ |
H A D | scat_pa_space.h | 49 #define EXP_PA_ADDR(exp) (exp << 28) 64 * The slice to exp mapping is not always 1-1, swaps may occur
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | fpparts.h | 48 unsigned exp :11; member in struct:__anon2969::__anon2970 54 unsigned exp :11; member in struct:__anon2969::__anon2971 70 unsigned exp :8; member in struct:__anon2973::__anon2974 75 unsigned exp :8; member in struct:__anon2973::__anon2975 92 unsigned exp :11; member in struct:__anon2976::__anon2977 99 unsigned exp :11; member in struct:__anon2976::__anon2978 113 unsigned exp :8; member in struct:__anon2980::__anon2981 119 unsigned exp :8; member in struct:__anon2980::__anon2982 129 #define EXPONENT(X) (((_dval *)&(X))->fparts.exp) 147 #define FEXPONENT(X) (((_fval *)&(X))->fparts.exp) [all...] |
H A D | finite.c | 81 int sign, exp; local 83 exp = EXPONENT(x); 85 if (exp == 0) { /* de-normal or zero */ 91 if (exp == MAXEXP) { /* infinity or NaN */
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | plural_parser.c | 91 stack_push(struct stack *stk, struct expr *exp) argument 95 printf(" type: %s\n", type_name[GETTYPE(exp->op)]); 96 printf(" flag: %s\n", type_name[GETTYPE(exp->flag)]); 99 stk->ptr[stk->index++] = exp; 102 freeexpr(exp); 107 return (exp); 246 reduce(struct expr **nexp, unsigned int n, struct expr *exp, struct stack *stk) argument 260 exp1 = exp; 274 exp2 = exp; 291 exp3 = exp; 459 struct expr *exp, *nexp, *exp_op, *ret; local 851 plural_eval(struct expr *exp, unsigned int n) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | cosh.c | 39 * [ exp(x) - 1 ]^2 41 * 2*exp(x) 43 * exp(x) + 1/exp(x) 46 * 22 <= x <= lnovft : cosh(x) := exp(x)/2 47 * lnovft <= x < INF : cosh(x) := scalbn(exp(x-1024*ln2),1023) 79 t = exp(w); 82 return (0.5 * exp(w)); 88 return (scalbn(exp(w), 1023));
|
/illumos-gate/usr/src/lib/krb5/kadm5/srv/ |
H A D | svr_iters.c | 59 char *exp; member in struct:iter_data 202 char *exp, 215 if (exp == NULL) 216 exp = "*"; 220 if ((ret = glob_to_regexp(exp, princ ? handle->params.realm : NULL, 252 ret = kdb_iter_entry(handle, exp, get_princs_iter, (void *) &data); 254 ret = krb5_db_iter_policy(handle->context, exp, get_pols_iter, (void *)&data); 276 char *exp, 280 return kadm5_get_either(1, server_handle, exp, princs, count); 284 char *exp, 200 kadm5_get_either(int princ, void *server_handle, char *exp, char ***princs, int *count) argument 275 kadm5_get_principals(void *server_handle, char *exp, char ***princs, int *count) argument 283 kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count) argument [all...] |