/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | catanl.c | 111 one = 1.0L, variable 174 t = one - ay; in catanl() 175 if (ay == one) { in catanl() 179 } else if (ay > one) { /* y>1 */ in catanl() 186 } else if (ay < E * (one + ax)) { in catanl() 210 t1 = ay - one; in catanl() 217 LD_IM(ans) = t * (one - two * t); in catanl() 222 LD_RE(ans) = half * atan2l(two, (one - ax) * (one + in catanl() 223 one / ax)); in catanl() 225 } else if (ay > Einv * (one + ax)) { in catanl() [all …]
|
H A D | catan.c | 88 one = 1.0; variable 143 t = one - ay; in catan() 175 D_RE(ans) = half * atan2(two, (one - ax) * (one + in catan() 176 one / ax)); in catan() 181 t = ay / ((ay - one) * (ay - one)); in catan() 185 t = ay / (ax * ax + (ay - one) * (ay - one)); in catan() 186 D_IM(ans) = t * (one - (t + t)); in catan() 202 t = (ay / (ay - one)) / (ay - one); in catan() 203 D_IM(ans) = t * (one - (t + t)); in catan() 238 t = ((ay / ax) / (one + ((ay - one) / ax) * ((ay - one) / in catan() [all …]
|
H A D | casin.c | 202 one = 1.0, variable 299 D_IM(ans) = log(x + sqrt((x - one) * (x + in casin() 300 one))); in casin() 302 xm1 = x - one; in casin() 303 D_IM(ans) = log1p(xm1 + sqrt(xm1 * (x + one))); in casin() 306 } else if (y <= E * fabs(x - one)) { /* region 2: y < tiny*|x-1| */ in casin() 309 D_IM(ans) = y / sqrt((one + x) * (one - x)); in casin() 315 D_IM(ans) = log(x + sqrt((x - one) * (x + in casin() 316 one))); in casin() 318 D_IM(ans) = log1p((x - one) + sqrt((x - one) * in casin() [all …]
|
H A D | casinl.c | 39 one = 1.0L, variable 152 LD_IM(ans) = logl(x + sqrtl((x - one) * (x + in casinl() 153 one))); in casinl() 155 xm1 = x - one; in casinl() 157 one))); in casinl() 160 } else if (y <= E * fabsl(x - one)) { /* region 2: y < tiny*|x-1| */ in casinl() 163 LD_IM(ans) = y / sqrtl((one + x) * (one - x)); in casinl() 169 LD_IM(ans) = logl(x + sqrtl((x - one) * (x + in casinl() 170 one))); in casinl() 172 LD_IM(ans) = log1pl((x - one) + sqrtl((x - in casinl() [all …]
|
H A D | cacos.c | 201 one = 1.0, variable 327 D_IM(ans) = log(x + sqrt((x - one) * (x + in cacos() 328 one))); in cacos() 330 xm1 = x - one; in cacos() 331 D_IM(ans) = log1p(xm1 + sqrt(xm1 * (x + one))); in cacos() 334 } else if (y <= E * fabs(x - one)) { /* region 2: y < tiny*|x-1| */ in cacos() 337 D_IM(ans) = y / sqrt((one + x) * (one - x)); in cacos() 342 t = sqrt((x - one) * (x + one)); in cacos() 347 D_IM(ans) = log1p((x - one) + t); in cacos() 353 } else if (E * y - one >= x) { /* region 4 */ in cacos() [all …]
|
H A D | cacosl.c | 39 one = 1.0L, variable 180 LD_IM(ans) = logl(x + sqrtl((x - one) * (x + in cacosl() 181 one))); in cacosl() 183 xm1 = x - one; in cacosl() 185 one))); in cacosl() 188 } else if (y <= E * fabsl(fabsl(x) - one)) { in cacosl() 193 LD_IM(ans) = y / sqrtl((one + x) * (one - x)); in cacosl() 208 t = sqrtl((x - one) * (x + one)); in cacosl() 213 LD_IM(ans) = log1pl(t - (one - x)); in cacosl() 219 } else if (E * y - one >= fabsl(x)) { /* region 4 */ in cacosl() [all …]
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | trie.c | 60 buf->one = NULL; in create_node() 130 ASSERT(nodep->one == NULL); in t_split() 132 nodep->one = create_node(KM_SLEEP); in t_split() 141 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split() 142 nodep->one = create_node(KM_SLEEP); in t_split() 146 tnodep->one = nodep->one; in t_split() 149 nodep->one = create_node(KM_SLEEP); in t_split() 168 if ((nodep->one == NULL) && (nodep->zero == NULL)) { in t_split() 169 nodep->one = create_node(KM_SLEEP); in t_split() 173 tnodep->one = nodep->one; in t_split() [all …]
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | t-strl.c | 30 int one, two, k; variable 95 one = sm_strlcpyn(dst1, sizeof dst1, 3, src1[0], "/", src1[1]); 97 SM_TEST(one == two); 99 one = sm_strlcpyn(dst1, 10, 3, src1[0], "/", src1[1]); 101 SM_TEST(one == two); 103 one = sm_strlcpyn(dst1, 5, 3, src1[0], "/", src1[1]); 105 SM_TEST(one == two); 107 one = sm_strlcpyn(dst1, 0, 3, src1[0], "/", src1[1]); 109 SM_TEST(one == two); 111 one = sm_strlcpyn(dst1, sizeof dst1, 5, src1[0], "/", src1[1], "/", src1[2]); [all …]
|
/illumos-gate/usr/src/test/elf-tests/tests/groups/strip-groups/ |
H A D | strip-one-section.sh | 39 gas -c ${TESTDIR}/strip-one-section.s -o strip-one-obj1.o 45 /bin/ld -s strip-one-obj1.o -o strip-one 51 if [[ $(elfdump -cN.debug_stuff strip-one) != "" ]]; then 56 if [[ $(elfdump -cN.test_code strip-one) == "" || 57 $(elfdump -cN.test_data strip-one) == "" ]]; then 64 /bin/ld -r -s strip-one-obj1.o -o strip-one.o 71 if [[ $(elfdump -cN.group strip-one.o) == "" ]]; then 76 find_in_group .group1 .test_data strip-one.o 77 find_in_group .group1 .test_code strip-one.o
|
/illumos-gate/usr/src/lib/fm/libdiagcode/common/tests/ |
H A D | SAMPLE0.dict | 32 # here's a worked by hand example for key: "fault.one fault.two" 55 fault.one fault.three fault.two=2 "this is all three faults" 56 fault.one fault.three=1 57 fault.one=7 59 fault.one fault.two=5 69 #TEST:key2code:0:fault.two fault.one:SAMPLE0-8000-5V 70 #TEST:key2code:0:fault.one fault.two:SAMPLE0-8000-5V 71 #TEST:key2code:0:fault.one fault.two fault.one:SAMPLE0-8000-5V 72 #TEST:key2code:0:fault.one fault.two fault.one fault.one fault.two:SAMPLE0-8000-5V 73 #TEST:key2code:ENOMSG:fault.one fault.poop [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vcosf.c | 79 #define one C[3] macro 96 y[index] = one; \ 116 f##N = (float)(one + z##N * (mhalf + z##N * \ 135 f##N = (float)(one + z##N * (mhalf + z##N * (C0 + \ 218 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vcosf() 227 f1 = (float)(one + z1 * (mhalf + z1 * (C0 + in __vcosf() 234 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vcosf() 236 f1 = (float)(one + z1 * (mhalf + z1 * (C0 + in __vcosf() 245 f2 = (float)(one + z2 * (mhalf + z2 * (C0 + in __vcosf() 251 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vcosf() [all …]
|
H A D | __vsinf.c | 79 #define one C[3] macro 120 f##N = (float)(one + z##N * (mhalf + z##N * \ 139 f##N = (float)(one + z##N * (mhalf + z##N * (C0 + \ 222 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vsinf() 231 f1 = (float)(one + z1 * (mhalf + z1 * (C0 + in __vsinf() 238 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vsinf() 240 f1 = (float)(one + z1 * (mhalf + z1 * (C0 + in __vsinf() 249 f2 = (float)(one + z2 * (mhalf + z2 * (C0 + in __vsinf() 255 f0 = (float)(one + z0 * (mhalf + z0 * (C0 + in __vsinf() 258 f2 = (float)(one + z2 * (mhalf + z2 * (C0 + in __vsinf() [all …]
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | erf.c | 210 #define one xxx[2] macro 294 return ((double) (1 - i) + one / x); /* erf(+-inf)=+-1 */ in erf() 305 s = one + in erf() 311 s = fabs(x) - one; in erf() 314 Q = one + s * (qa1 + s * (qa2 + s * (qa3 + s * (qa4 + in erf() 323 return (one - tiny); in erf() 325 return (tiny - one); in erf() 328 s = one / (x * x); in erf() 332 S = one + s * (sa1 + s * (sa2 + s * (sa3 + s * (sa4 + in erf() 337 S = one + s * (sb1 + s * (sb2 + s * (sb3 + s * (sb4 + in erf() [all …]
|
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | erfl.c | 106 one = 1.0L, variable 285 return copysignl(one,x); /* return +-1.0 is x=Inf */ 296 s = y-one; 297 t = C1+__poly_libmq(s,12,P1)/(one+s*__poly_libmq(s,12,Q1)); 301 t = C2+__poly_libmq(s,12,P2)/(one+s*__poly_libmq(s,13,Q2)); 305 return (signbitl(x))? t-one: one-t; 320 if (x<=0.25) return one-erfl(x); 327 s = x-one; 328 t = one-C1; 329 return t - __poly_libmq(s,12,P1)/(one+s*__poly_libmq(s,12,Q1)); [all …]
|
H A D | acosl.c | 51 static const long double zero = 0.0L, one = 1.0L; variable 57 else if (fabsl(x) < one) in acosl() 58 x = atanl(sqrtl((one - x) / (one + x))); in acosl() 59 else if (x == -one) in acosl() 60 x = atan2l(one, zero); /* x <- PI */ in acosl() 61 else if (x == one) in acosl()
|
H A D | powl.c | 42 static const long double zero = 0.0L, one = 1.0L, two = 2.0L; variable 76 f = x - one; in logl_x() 82 qn = one / (two + f); in logl_x() 106 qn = one / (x + z); in logl_x() 151 return (one); /* x**+-0 = 1 */ in powl() 154 return (one); /* C99: 1**anything = 1 */ in powl() 199 return (one); in powl() 211 return (one / x); in powl() 229 z = one / z; /* z = 1/|x| if y is negative */ in powl() 262 return (one / z); in powl() [all …]
|
H A D | atanl.c | 84 one = 1.0L, variable 125 s = one; in atanl() 150 r = one / x; in atanl() 155 y = r * (one + z * (p1 + z * (p2 + z * (p3 + in atanl() 161 r = one / x; in atanl() 166 y = r * (one + z * (q1 + z * (q2 + z * (q3 + z * (q4 + in atanl() 170 y = one / x - pio2lo; in atanl() 193 s = (x - y) / (one + x * y); in atanl() 195 s = (y - x) / (one + x * y); in atanl() 198 p = s * (one + z * (q1 + z * (q2 + z * (q3 + z * q4)))); in atanl() [all …]
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | erfl.c | 105 one = 1.0L, variable 284 return copysignl(one,x); /* return +-1.0 is x=Inf */ 295 s = y-one; 296 t = C1+__poly_libmq(s,12,P1)/(one+s*__poly_libmq(s,12,Q1)); 300 t = C2+__poly_libmq(s,12,P2)/(one+s*__poly_libmq(s,13,Q2)); 304 return (signbitl(x))? t-one: one-t; 320 if (x<=0.25) return one-erfl(x); 327 s = x-one; 328 t = one-C1; 329 return t - __poly_libmq(s,12,P1)/(one+s*__poly_libmq(s,12,Q1)); [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | erf.c | 170 one = 1.0, variable 276 return (x > 0 ? one : -one); /* erf(+/-inf)= +/-1 */ 292 s = fabs(x)-one; 294 Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6))))); 302 return (one-tiny); 304 return (tiny-one); 308 s = -one/z; 312 S = one+s*(sc1+s*(sc2+s*sc3)); 316 S = one+s*(sb1+s*(sb2+s*sb3)); 322 return (one-z); [all …]
|
H A D | expm1.c | 115 const static double one=1.0, half=1.0/2.0; variable 147 { x=one-scalb(one,-k); z += __exp__E(z,c);} 149 { x = __exp__E(z,c)-scalb(one,-k); x+=z; z=one;} 151 { x = __exp__E(z,c)+z; z=one;} 161 { ln2hi+ln2lo; return(-one);} 164 else return(-one); 170 return( finite(x) ? scalb(one,5000) : x);
|
H A D | gamma.c | 131 static const double zero = 0., one = 1.0, tiny = 1e-300; variable 150 endian = (*(int *) &one) ? 1 : 0; 154 return(one/zero); 164 else return (one/x); 165 one+1e-20; /* Raise inexact flag. */ 166 return (one/x); 185 z = one/(x*x); 190 u.a -= one; 213 y = x - one; 214 ym1 = y - one; [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_slist.c | 250 static void copy_possibles(struct sm_state *to, struct sm_state *one, struct sm_state *two) in copy_possibles() argument 252 struct sm_state *large = one; in copy_possibles() 263 ptr_list_size((struct ptr_list *)one->possible)) { in copy_possibles() 265 small = one; in copy_possibles() 453 struct sm_state *merge_sm_states(struct sm_state *one, struct sm_state *two) in merge_sm_states() argument 459 if (one->state->data && !has_dynamic_states(one->owner)) in merge_sm_states() 460 sm_msg("dynamic state: %s", show_sm(one)); in merge_sm_states() 462 if (one == two) in merge_sm_states() 463 return one; in merge_sm_states() 468 return one; in merge_sm_states() [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/types/ |
H A D | tst.relenum.d | 39 one, enumerator 50 /zero >= one || second <= first || zero == second/ 53 printf("zero = %d; one = %d; two = %d", zero, one, two); 59 /second < one || two > second || null == first/ 62 printf("zero = %d; one = %d; two = %d", zero, one, two); 68 /first < two && second > one && one != two && zero != first/
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | net_include.sh | 245 done < "$file" | while read one two; do 247 [ "$one" = "$keyword" ] && echo "$one $two" 376 while read one rest; do 391 [ "$one" = ipmp ] && one= 392 ifcmds="$one $rest" 444 while read one rest; do 448 [ "$one" = ipmp ] && one= 449 ifcmds="$one $rest" 531 done` | while read one two; do 532 [ -z "$one" ] && continue [all …]
|
/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | atanf.c | 91 one = 1.0F, variable 138 r = one / x; in atanf() 140 y = r * (one + z * (p1 + z * p2)); /* poly1 */ in atanf() 143 r = one / x; in atanf() 145 y = r * (one + z * q1); /* poly2 */ in atanf() 148 y = one / x - pio2lo; in atanf() 182 s = (x - y) / (one + x * y); in atanf() 184 s = (y - x) / (one + x * y); in atanf() 186 p = s * (one + z * q1); in atanf()
|