/titanic_41/usr/src/lib/libm/common/complex/ |
H A D | catan.c | 85 half = 0.5, variable 149 D_IM(ans) = half * log1p(two / (-t)); in catan() 152 D_IM(ans) = half * log1p((ay + ay) / t); in catan() 175 D_RE(ans) = half * atan2(two, (one - ax) * (one + in catan() 217 D_RE(ans) = half * atan2(two, -ax); in catan() 219 D_IM(ans) = half * (ln2 - log(ax)); in catan() 255 D_RE(ans) = half * atan2(ax + ax, (one - ay) * (one + ay)); in catan() 257 D_IM(ans) = half * log1p(two / (ay - one)); in catan() 259 D_IM(ans) = half * log1p((ay + ay) / (one - ay)); in catan() 276 D_RE(ans) = half * (atan2((ax + ax), (t * (one + ay) - in catan() [all …]
|
H A D | catanl.c | 113 half = 0.5L, variable 180 LD_IM(ans) = half * log1pl(two / (-t)); in catanl() 183 LD_IM(ans) = half * log1pl((ay + ay) / t); in catanl() 222 LD_RE(ans) = half * atan2l(two, (one - ax) * (one + in catanl() 254 LD_RE(ans) = half * atan2l(two, -ax); in catanl() 256 LD_IM(ans) = half * (ln2 - logl(ax)); in catanl() 292 LD_RE(ans) = half * atan2l(ax + ax, (one - ay) * (one + ay)); in catanl() 294 LD_IM(ans) = half * log1pl(two / (ay - one)); in catanl() 296 LD_IM(ans) = half * log1pl((ay + ay) / (one - ay)); in catanl() 313 LD_RE(ans) = half * (atan2l((ax + ax), (t * (one + in catanl() [all …]
|
H A D | csqrt.c | 116 half = 0.5; variable 170 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay))); in csqrt() 182 t = sqrt(half * ay); in csqrt() 184 t = sqrt(half * ay + half * ax); in csqrt() 186 t = half * sqrt(two * (ay + ax)); in csqrt() 188 t = sqrt(half * (ay + ax)); in csqrt() 198 t = sqrt(half * (ax + sqrt(ax * ax + ay * ay))); in csqrt()
|
H A D | csqrtl.c | 43 half = 0.5L, variable 100 t = sqrtl(half * (ax + sqrtl(ax * ax + y * y))); 117 t = sqrtl(half * ay); 119 t = sqrtl(half * ay + half * ax); 121 t = half * (sqrtl(two * (ax + ay))); 123 t = sqrtl(half * (ax + ay)); 133 t = sqrtl(half * (ax + sqrtl(ax * ax + y * y)));
|
H A D | k_clog_r.c | 77 half = 0.5, variable 235 v = half * s2h; in k_log_NKz() 283 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh)); in __k_clog_r() 285 return (half * t2); in __k_clog_r() 388 wh = half * zk; in __k_clog_r() 406 if (nz == 1) {zh *= half; *er *= half; } in __k_clog_r() 408 w = half * k_log_NKz(nz, k, zh, er); in __k_clog_r() 409 *er *= half; in __k_clog_r()
|
H A D | clogl.c | 45 static const long double zero = 0.0L, half = 0.5L, one = 1.0L; variable 85 LD_RE(ans) = half * log1pl(ay * ay); in clogl() 89 LD_RE(ans) = half * (log1pl(ay * ay + (ax - in clogl() 99 LD_RE(ans) = half * logl(ax * ax + ay * ay); in clogl() 102 LD_RE(ans) = logl(ax) + half * log1pl(t * t); in clogl()
|
H A D | clog.c | 68 static const double half = 0.5, one = 1.0; variable 112 D_RE(ans) = half * log1p(ay * ay); in __clog() 116 D_RE(ans) = half * (log1p(ay * ay + (ax - in __clog() 127 D_RE(ans) = half * log(ax * ax + ay * ay); in __clog() 130 D_RE(ans) = log(ax) + half * log1p(t * t); in __clog()
|
H A D | casinl.c | 42 half = 0.5L, variable 186 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t); in casinl() 194 LD_IM(ans) = half * log1pl((y + y) * (y + A)); in casinl() 201 A = half * (R + S); in casinl() 208 LD_RE(ans) = atanl(x / sqrtl(half * Apx * (y2 / in casinl() 211 LD_RE(ans) = atanl(x / (y * sqrtl(half * (Apx / in casinl() 217 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in casinl() 219 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in casinl()
|
H A D | cacos.c | 215 half = 0.5; variable 360 D_IM(ans) = ln2 + log(y) + half * log1p(t * t); in cacos() 368 D_IM(ans) = half * log1p((y + y) * (y + A)); in cacos() 375 A = half * (R + S); in cacos() 382 D_RE(ans) = atan(sqrt(half * Apx * (y2 / (R + in cacos() 385 D_RE(ans) = atan((y * sqrt(half * (Apx / (R + in cacos() 391 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in cacos() 393 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in cacos()
|
H A D | casin.c | 211 half = 0.5; variable 332 D_IM(ans) = ln2 + log(y) + half * log1p(t * t); in casin() 340 D_IM(ans) = half * log1p((y + y) * (y + A)); in casin() 347 A = half * (R + S); in casin() 355 D_RE(ans) = atan(x / sqrt(half * Apx * (y2 / in casin() 358 D_RE(ans) = atan(x / (y * sqrt(half * (Apx / in casin() 364 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in casin() 366 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in casin()
|
H A D | k_clog_rl.c | 81 half = 0.5L, variable 395 v = half * s2h; in k_log_NKzl() 458 *er = half * ((y - wh) * (y + wh) - (t2 - wh * wh)); 460 return (half * t2); 617 wh = half * zk; 638 zh *= half; *er *= half; 641 w = half * k_log_NKzl(nz, k, zh, er); 642 *er *= half;
|
H A D | cacosl.c | 42 half = 0.5L, variable 226 LD_IM(ans) = ln2 + logl(y) + half * log1pl(t * t); in cacosl() 234 LD_IM(ans) = half * log1pl((y + y) * (y + A)); in cacosl() 242 A = half * (R + S); in cacosl() 250 LD_RE(ans) = atan2l(sqrtl(half * Apx * (y2 / in cacosl() 253 LD_RE(ans) = atan2l((y * sqrtl(half * (Apx / in cacosl() 259 Am1 = half * (y2 / (R + xp1) + y2 / (S - xm1)); in cacosl() 261 Am1 = half * (y2 / (R + xp1) + (S + xm1)); in cacosl()
|
H A D | catanf.c | 41 half = 0.5F, variable 99 F_IM(ans) = half * log1pf(two / (-t)); in catanf() 102 F_IM(ans) = half * log1pf((ay + ay) / t); in catanf()
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 36 uint32_t half[2]; /* two 32-bit halves */ member 76 adp->arg_value = off.half[0]; /* first 32 bits */ in pr_lseek() 82 adp->arg_value = off.half[1]; /* second 32 bits */ in pr_lseek() 106 off.half[0] = (uint32_t)rval.sys_rval1; in pr_lseek() 107 off.half[1] = (uint32_t)rval.sys_rval2; in pr_lseek() 151 adp->arg_value = off.half[0]; /* first 32 bits */ in pr_llseek() 157 adp->arg_value = off.half[1]; /* second 32 bits */ in pr_llseek() 181 off.half[0] = (uint32_t)rval.sys_rval1; in pr_llseek() 182 off.half[1] = (uint32_t)rval.sys_rval2; in pr_llseek()
|
/titanic_41/usr/src/lib/libm/common/C/ |
H A D | exp.c | 271 #define half C[0] macro 304 return (one + x * (one + half * x)); in exp() 307 y = x + (t * (half + x * t2) + in exp() 320 y = z + (t * (half + z * t2) + in exp() 339 t -= half; in exp() 341 t += half; in exp() 349 y = z + (t * (half + z * t2) + (t * t) * (t3 + z * t4 + t * t5)); in exp()
|
H A D | exp2.c | 55 #define half C[2] macro 86 k = (int)((ix < 0)? x - half : x + half); in exp2()
|
H A D | exp10.c | 62 #define half C[5] macro 106 k = (int)((ix < 0)? t - half : t + half); in exp10()
|
/titanic_41/usr/src/lib/libast/common/uwin/ |
H A D | log1p.c | 122 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ variable 137 { k += 1 ; z *= half; t *= half; } 142 s = x/(2+x); t = x*x*half;
|
H A D | exp__E.c | 117 const static double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; variable 128 xh= x*half ; 132 return(z*half+c);
|
H A D | expm1.c | 115 const static double one=1.0, half=1.0/2.0; variable 140 {x=z+half;x +=__exp__E(z,c); return(x+x);} 142 {z+=__exp__E(z,c); x=half+z; return(x+x);}
|
/titanic_41/usr/src/lib/libm/common/LD/ |
H A D | coshl.c | 77 #define half C[0] macro 102 return (half * (t + one / t)); in coshl() 105 return (half * expl(w)); in coshl()
|
H A D | atanhl.c | 62 half = (GENERIC) 0.5, variable 72 return COPYSIGN(half,x)*LOG1P(t+t);
|
/titanic_41/usr/src/lib/libm/common/Q/ |
H A D | coshl.c | 77 half = 0.5L, variable 101 return (half * (t + one / t)); in coshl() 103 return (half * expl(w)); in coshl()
|
H A D | atanhl.c | 50 static const long double zero = 0.0L, half = 0.5L, one = 1.0L; variable 60 return (copysignl(half, x) * log1pl(t + t)); in atanhl()
|
H A D | log2l.c | 49 half = 0.5L, variable 63 if (x == half) in log2l()
|