Searched refs:exp (Results 1 - 25 of 57) sorted by relevance

123

/osnet-11/usr/src/lib/libc/port/gen/
H A Dlexp10.c37 lexp10(dl_t exp) argument
43 while (exp.dl_hop != 0 || exp.dl_lop != 0) {
45 exp = lsub(exp, lone);
H A D_ftoll.c49 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.c53 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...]
/osnet-11/usr/src/lib/libast/common/port/
H A Dastmath.c45 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;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Digest/MD5/t/
H A Dutf8.t25 my $exp = ord "A" == 193 ? # EBCDIC
30 print "not " unless md5_hex($str) eq $exp;
34 print "not " unless md5_hex("foo\xFF") eq $exp;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dexp.t3 # $RCSfile: exp.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:50 $
12 $s = exp(1);
15 if (exp(log(1)) == 1) {print "ok 3\n";} else {print "not ok 3\n";}
24 $s = exp($x1);
27 if (exp(log($x1)) == 1) {print "ok 6\n";} else {print "not ok 6\n";}
H A Dwrite.t419 my $exp = <<EOD;
422 print $res eq $exp ? "ok 17\n" : "not ok 17\n";
467 my $exp = '';
469 $exp .= sprintf( "%5s %s\n", $k, $v );
471 $exp .= sprintf( "%5s %s\n", $h{xkey}, $h{ykey} );
472 $exp .= sprintf( "%5s %s\n", $h{xkey}, $h{ykey} );
473 $exp .= "}\n";
478 print $res eq $exp ? "ok 20\n" : "not ok 20 res=[$res]exp=[$exp]\
[all...]
H A Dgmagic.t15 my($ok, $got, $exp, $rexp, $wexp) = @_;
17 print $ok ? "ok $t\n" : "# expected $exp, got $got\nnot ok $t\n";
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfdlen.c39 int exp; local
46 v = frexpl(v,&exp);
47 else exp = 0;
57 return 1 + sfulen(exp) + w;
H A D_sfputd.c40 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 Dsfgetd.c37 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);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c77 unsigned int exp : 8; member in struct:ieee_single
88 unsigned int exp : 8; member in struct:vax_single
125 if ((vs.exp == 1) || (vs.exp == 2)) {
127 is.exp = 0;
130 is.mantissa >>= 3 - vs.exp;
131 is.mantissa += (1 << (20 + vs.exp));
139 (vs.exp == lim->s.exp) &&
145 is.exp
290 unsigned int exp : 11; member in struct:ieee_double
298 unsigned int exp : 8; member in struct:vax_double
[all...]
/osnet-11/usr/src/lib/libc/port/fp/
H A Dfpparts.h48 unsigned exp :11; member in struct:__anon1383::__anon1384
54 unsigned exp :11; member in struct:__anon1383::__anon1385
70 unsigned exp :8; member in struct:__anon1387::__anon1388
75 unsigned exp :8; member in struct:__anon1387::__anon1389
92 unsigned exp :11; member in struct:__anon1390::__anon1391
99 unsigned exp :11; member in struct:__anon1390::__anon1392
113 unsigned exp :8; member in struct:__anon1394::__anon1395
119 unsigned exp :8; member in struct:__anon1394::__anon1396
129 #define EXPONENT(X) (((_dval *)&(X))->fparts.exp)
147 #define FEXPONENT(X) (((_fval *)&(X))->fparts.exp)
[all...]
H A Dfinite.c81 int sign, exp; local
83 exp = EXPONENT(x);
85 if (exp == 0) { /* de-normal or zero */
91 if (exp == MAXEXP) { /* infinity or NaN */
H A Daconvert.c43 * corresponding base two exponent is passed back in *exp.
46 * and *exp is set to zero. If arg is infinite or NaN, __infnanstring
47 * is called to place an appropriate string in buf, and *exp is set to
56 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf) argument
72 *exp = 0;
81 *exp = 0;
99 *exp = (ha >> 20) - 0x3ff - 1074;
101 *exp = (ha >> 20) - 0x3ff;
116 (*exp)++;
137 __qaconvert(long double *arg, int ndigits, int *exp, in argument
294 __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf) argument
367 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf) argument
[all...]
H A Ddecimal_bin.c151 int ids, i, ix, exp, ndigs; local
158 exp = pd->exponent;
162 exp++;
173 d.bexponent = exp;
208 if (exp < 0) {
210 i = exp + ndigs - 1;
338 int n, exp, rounded, e; local
345 exp = pd->exponent;
352 exp += pd->ndigits - 18;
355 * exp mus
[all...]
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c91 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...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/t/
H A Dfallback.t3 # test 'fallback' for overload cos/sin/atan2/exp
46 ok (exp($bi), exp(1));
53 ok (exp($bf), exp(1));
/osnet-11/usr/src/lib/libsqlite/src/
H A Dprintf.c225 int exp; /* exponent of real numbers */ local
416 exp = 0;
418 while( realvalue>=1e8 && exp<=350 ){ realvalue *= 1e-8; exp+=8; }
419 while( realvalue>=10.0 && exp<=350 ){ realvalue *= 0.1; exp++; }
420 while( realvalue<1e-8 && exp>=-350 ){ realvalue *= 1e8; exp-=8; }
421 while( realvalue<1.0 && exp>=-350 ){ realvalue *= 10.0; exp
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c58 char *exp; member in struct:iter_data
203 char *exp,
217 if (exp == NULL)
218 exp = "*";
222 if ((ret = glob_to_regexp(exp, princ ? handle->params.realm : NULL,
254 ret = kdb_iter_entry(handle, exp, get_princs_iter, (void *) &data);
256 ret = krb5_db_iter_policy(handle->context, exp, get_pols_iter, (void *)&data);
278 char *exp,
282 return kadm5_get_either(1, server_handle, exp, princs, count);
286 char *exp,
201 kadm5_get_either(int princ, void *server_handle, char *exp, char ***princs, int *count) argument
277 kadm5_get_principals(void *server_handle, char *exp, char ***princs, int *count) argument
285 kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Time/HiRes/t/
H A DHiRes.t238 my $exp = 0.3 * (5 - $i);
240 if (abs($ival/$exp - 1) > 3*$limit) {
241 my $ratio = abs($ival/$exp);
242 $not = "while: $exp sleep took $ival ratio $ratio";
253 my $exp = 0.3 * (5 - $i);
255 if (abs($ival/$exp - 1) > 3*$limit) {
256 my $ratio = abs($ival/$exp);
257 $not = "tick: $exp sleep took $ival ratio $ratio";
/osnet-11/usr/src/lib/libc/port/print/
H A Dprint.h57 __aconvert(double arg, int ndigits, int *exp, int *sign, char *buf);
60 __qaconvert(long double *arg, int ndigits, int *exp, int *sign, char *buf);
/osnet-11/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c133 char *exp, char ***pols, int *count)
143 arg.exp = exp;
132 kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count) argument
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceLocationAttributeV1.java369 ServiceLocationAttributeV1(String exp, argument
377 if (exp.startsWith("(") && exp.endsWith(")")) {
380 new StringTokenizer(exp.substring(1, exp.length() - 1),
396 new Object[] {exp});
437 new Object[] {exp});
446 if (exp.indexOf('(') != -1 || exp.indexOf(')') != -1) {
451 new Object[] {exp});
[all...]
H A DServiceLocationAttribute.java118 * exp = "(" id "=" value-list ")" | keyword
122 * @param exp The expression
128 ServiceLocationAttribute(String exp, boolean allowMultiValuedBooleans) argument
131 if (exp == null || exp.length() <= 0) {
134 new Object[] {exp});
140 if (exp.startsWith("(") && exp.endsWith(")")) {
143 new StringTokenizer(exp.substring(1, exp
[all...]

Completed in 58 milliseconds

123