Searched defs:exp (Results 1 - 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/lib/libm/i386/src/
H A Dexp.s29 .file "exp.s"
32 LIBM_ANSI_PRAGMA_WEAK(exp,function)
35 ENTRY(exp) function
61 / [z] != z, compute exp(x)
68 fscale / exp(x) ,[z]
79 fldl (%esp) / exp(x) rounded to double
80 fxam / determine class of exp(x)
155 SET_SIZE(exp)
/illumos-gate/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...]
/illumos-gate/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;
/illumos-gate/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 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);
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 */
/illumos-gate/usr/src/test/libc-tests/tests/priv_gettext/
H A Dpriv_gettext.c44 priv_verify(const char *exp) argument
48 assert(strcmp(res, exp) == 0);
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfrexpf.c35 __frexpf(float x, int *exp) { argument
47 *exp = 0;
54 *exp = 0;
66 *exp = e + (hx >> 23) - 0x7e;
H A Dfrexpl.c37 __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 Dfrexp.c33 * 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/test/libc-tests/tests/strerror/
H A Dstrerror.c47 strerror_verify(const char *exp) argument
53 assert(strcmp(r, exp) == 0);
57 strerror_l_verify(locale_t loc, const char *exp) argument
63 assert(strcmp(r, exp) == 0);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_float.c139 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/libc/port/fp/
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 Dfpparts.h48 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...]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dregex2.c37 struct exp { struct
49 static struct exp *p_exp = NULL; /* list of individual expressions */
75 p_exp = (struct exp *)malloc(nexp * sizeof (struct exp));
/illumos-gate/usr/src/lib/libm/common/R/
H A Dlogf.c118 int hx, ix, i, exp, iy; local
126 exp = 0;
136 exp = -149;
139 exp += (ix - 0x3f320000) >> 23;
143 t = ln2 * (double)exp + TBL[i];
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclnt_policy.c152 char *exp, char ***pols, int *count)
162 arg.exp = exp;
151 kadm5_get_policies(void *server_handle, char *exp, char ***pols, int *count) argument
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Dexp.c39 static char sccsid[] = "@(#)exp.c 8.1 (Berkeley) 6/4/93";
59 * 2. Compute exp(r) by
61 * exp(r) = 1 + r + r*R1/(2-R1),
65 * 3. exp(x) = 2^k * exp(r) .
68 * exp(INF) is INF, exp(NaN) is NaN;
69 * exp(-INF)= 0;
70 * for finite argument, only exp(0)=1 is exact.
73 * exp(
123 extern double exp(x) function
[all...]
/illumos-gate/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...]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexp.c29 #pragma weak __exp = exp
32 * exp(x)
41 * 2. exp(x) = 2^k * (2^(j/32) + 2^(j/32)*expm1(r))
54 * exp(INF) is INF, exp(NaN) is NaN;
55 * exp(-INF)= 0;
56 * for finite argument, only exp(0)=1 is exact.
66 * if x > 7.09782712893383973096e+02 then exp(x) overflow
67 * if x < -7.45133219101941108420e+02 then exp(x) underflow
110 * TBL2[2*i+1] = exp(TBL
286 exp(double x) { function
[all...]
/illumos-gate/usr/src/cmd/rexd/
H A Dwhere.c146 struct share *exp; local
224 while (getshare(mfp, &exp) > 0)
225 if (len = preflen(qualpn, exp->sh_path))
228 strncpy(bestname, exp->sh_path,
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c60 return(exp() ? 0 : 1);
79 exp(void) function
89 return(p1 | exp());
133 p1 = exp();

Completed in 473 milliseconds

1234