Searched defs:half (Results 51 - 74 of 74) sorted by relevance

123

/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_mul.c50 #define half C[1] macro
351 zz[0] *= half;
352 zz[1] *= half;
353 zz[2] *= half;
H A D_Q_sqrt.c54 #define half C[1] macro
234 rr = half / c;
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dsqrtl.c105 half = 0.5, variable
323 rr = half / c;
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_clog_r.c77 half = 0.5, variable
235 v = half * s2h;
283 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh));
285 return (half * t2);
388 wh = half * zk;
406 if (nz == 1) {zh *= half; *er *= half; }
408 w = half * k_log_NKz(nz, k, zh, er);
409 *er *= half;
H A Dk_clog_rl.c50 * zh = (z-zk) rounded to half of the current significant bits
81 half = 0.5L, variable
379 /* split s2 into correctly rounded half */
395 v = half * s2h;
458 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh));
460 return (half * t2);
528 /* split x into correctly rounded half */
550 /* split y into correctly rounded half */
594 /* split zh into correctly rounded half */
617 wh = half * z
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dfma.c54 #define half C[0].d macro
144 x *= half;
145 y *= half;
H A Dfmal.c60 #define half C[0].d macro
383 dxy[0] *= half;
384 dxy[1] *= half;
385 dxy[2] *= half;
386 dxy[3] *= half;
387 dxy[4] *= half;
388 dxy[5] *= half;
389 dxy[6] *= half;
390 dxy[7] *= half;
391 dxy[8] *= half;
854 #define half macro
[all...]
H A Dtgammaf.c166 #define half c[2] macro
333 w = ((x - half) * ss + hln2pi) + z * (GP0 + zz * GP1 + (zz * zz) * GP2);
334 k = (int) (w * invln2_32 + half);
H A Dtgamma.c793 #define half c[2] macro
1279 r = x - half;
1290 k = (int) ((w_h + w_l) * invln2_32 + half);
H A Dtgammal.c276 #define half c[3] macro
694 r = x - half;
704 k = (int) ((w_h + w_l) * invln2_32 + half);
1065 t2 = t1 * half;
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_split.c291 * two new pages instead of copying half the data to the right page
775 db_indx_t half, nbytes, off, splitp, top; local
812 * Note, we try and split half the data present on the page. This is
814 * it half empty. We don't try and skip the split -- we don't know
816 * to half the page for a big item, so there's no easy test to decide
822 half = (dbp->pgsize - HOFFSET(pp)) / 2;
823 for (nbytes = 0, off = 0; off < top && nbytes < half; ++off)
/illumos-gate/usr/src/cmd/audio/utilities/
H A DResample.cc69 int half = order >> 1; local
70 if (order & 1) { // order is odd, center = half + 0.5
71 float center = half + 0.5;
72 for (i = 0; i <= half; i++) {
76 } else { // order is even, center = half
77 for (i = 0; i < half; i++) {
78 alpha = half - i;
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_split.c419 * instead of copying half the data to the right page and compacting
606 * l: page to put lower half of data
607 * r: page to put upper half of data
627 indx_t full, half, nxt, off, skip, top, used; local
640 half = full / 2;
693 if (used >= half) {
/illumos-gate/usr/src/lib/libm/common/C/
H A Derf.c135 /* half */ 5.00000000000000000000e-01, /* 3FE00000, 00000000 */
209 #define half xxx[1] macro
377 r += (x - half);
378 return (half - r);
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vcos.c62 half[2] = { 0.5, -0.5 }, variable
620 n0 = (int) (x0 * invpio2 + half[xsb0]);
621 n1 = (int) (x1 * invpio2 + half[xsb1]);
622 n2 = (int) (x2 * invpio2 + half[xsb2]);
1003 n1 = (int) (x1 * invpio2 + half[xsb1]);
1050 n0 = (int) (x0 * invpio2 + half[xsb0]);
H A D__vcosbig_ultra3.c49 half[2] = { 0.5, -0.5 }, variable
173 n0 = (int) (x0 * invpio2 + half[xsb0]);
174 n1 = (int) (x1 * invpio2 + half[xsb1]);
175 n2 = (int) (x2 * invpio2 + half[xsb2]);
556 n1 = (int) (x1 * invpio2 + half[xsb1]);
603 n0 = (int) (x0 * invpio2 + half[xsb0]);
H A D__vsin.c50 half[2] = { 0.5, -0.5 }, variable
628 n0 = (int) (x0 * invpio2 + half[xsb0]);
629 n1 = (int) (x1 * invpio2 + half[xsb1]);
630 n2 = (int) (x2 * invpio2 + half[xsb2]);
1011 n1 = (int) (x1 * invpio2 + half[xsb1]);
1058 n0 = (int) (x0 * invpio2 + half[xsb0]);
H A D__vsinbig_ultra3.c49 half[2] = { 0.5, -0.5 }, variable
173 n0 = (int) (x0 * invpio2 + half[xsb0]);
174 n1 = (int) (x1 * invpio2 + half[xsb1]);
175 n2 = (int) (x2 * invpio2 + half[xsb2]);
556 n1 = (int) (x1 * invpio2 + half[xsb1]);
603 n0 = (int) (x0 * invpio2 + half[xsb0]);
H A D__vsincos.c56 half[2] = { 0.5, -0.5 }, variable
855 n0 = (int) (x0 * invpio2 + half[xsb0]);
856 n1 = (int) (x1 * invpio2 + half[xsb1]);
857 n2 = (int) (x2 * invpio2 + half[xsb2]);
1429 n1 = (int) (x1 * invpio2 + half[xsb1]);
1486 n0 = (int) (x0 * invpio2 + half[xsb0]);
/illumos-gate/usr/src/cmd/col/
H A Dcol.c60 int half; variable
174 case '8': /* reverse half line feed */
178 if (--half < -1) {
181 half += 2;
186 case '9': /* forward half line feed */
190 if (++half > 0) {
193 half -= 2;
/illumos-gate/usr/src/lib/libm/common/R/
H A Dbesself.c65 #define half C[4] macro
477 t = half * x;
479 t = x * (half + neighth * x * x);
487 t = x * half + x * (z * (r / s));
662 b = t = half * x;
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Desi.c1304 size_t half; local
1338 half = pl;
1370 pl = half;
/illumos-gate/usr/src/lib/libast/common/uwin/
H A Derf.c169 half = 0.5, variable
351 r += (x-half);
352 return (half - r);
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_cpu_states.c1368 } half; member in union:__anon10311
1444 top = ((uint64_t)tk.half.high << 4) * tick_scale;
1445 bottom = (((uint64_t)tk.half.low << 4) * (uint64_t)tick_scale) >> 32;

Completed in 87 milliseconds

123