Home
last modified time | relevance | path

Searched refs:one (Results 51 – 75 of 1159) sorted by relevance

12345678910>>...47

/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dtgammaf.c164 #define one c[0] macro
331 z = one / x; in large_gam()
340 zz = S[j] * (one + z + (z * z) * (Et1 + z * Et2)); in large_gam()
423 rr = (x + one) * yy; in gam_n()
426 rr = (x + one) * (x + two) * yy; in gam_n()
430 rr = (x + one) * (x + two) * ((x + 3.0) * yy); in gam_n()
434 z2 = (x + one) * (x + 4.0); in gam_n()
530 ss = kpsin(one - z); in tgammaf()
542 ww = large_gam(y + one); in tgammaf()
545 return ((float) (one / (ww * ss))); in tgammaf()
/illumos-gate/usr/src/lib/libm/common/C/
H A Dceil.c42 one = 1.0, variable
54 return (x * one); in ceil()
62 return ((hx < 0)? -zero : one); in ceil()
64 return ((t >= x)? t : t + one); in ceil()
H A Dfloor.c42 one = 1.0, variable
54 return (x * one); in floor()
62 return ((hx < 0)? -one : zero); in floor()
64 return ((t <= x)? t : t - one); in floor()
H A Dacosh.c54 one = 1.0, variable
89 return (log(2.0 * x - one / (x + sqrt(t - one)))); in acosh()
92 t = x - one; in acosh()
H A Dtanh.c63 one = 1.0, variable
80 z = one; in tanh()
82 if (t > one) in tanh()
83 z = one - two / (expm1(t + t) + two); in tanh()
H A Dpow.c74 static const double zero = 0.0, one = 1.0, two = 2.0; variable
103 f = x - one; in log2_x()
108 qn = one / (two + f); in log2_x()
134 qn = one / (x + z); in log2_x()
181 z = one; /* x**+-0 = 1 */ in pow()
185 return (one); /* C99: 1**anything = 1 */ in pow()
222 return (one); in pow()
241 return (one / x); in pow()
268 z = one / z; /* z = |x|**y */ in pow()
H A Dexp.c279 #define one C[8] macro
303 return (one + x); in exp()
304 return (one + x * (one + half * x)); in exp()
309 return (one + y); in exp()
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_cexp.c97 one = 1.0, variable
140 return (one + ln2LO[1] * ln2LO[1]); /* generate inexact */ in __k_cexp()
160 return (one + x); in __k_cexp()
168 return (one - ((x * c) / (c - 2.0) - x)); in __k_cexp()
170 t = one - ((lo - (x * c) / (2.0 - c)) - hi); in __k_cexp()
H A Dctanhf.c36 static const float four = 4.0F, two = 2.0F, one = 1.0F, zero = 0.0F; variable
61 F_RE(ans) = one; in ctanhf()
72 F_RE(ans) = one; in ctanhf()
104 r = (four * C) * (t + one); in ctanhf()
106 v = one / (u + r * C); in ctanhf()
H A Dctanhl.c37 static const long double four = 4.0L, two = 2.0L, one = 1.0L, zero = 0.0L; variable
62 LD_RE(ans) = one; in ctanhl()
75 LD_RE(ans) = one; in ctanhl()
107 r = (four * C) * (t + one); in ctanhl()
109 v = one / (u + r * C); in ctanhl()
H A Dctanh.c95 static const double four = 4.0, two = 2.0, one = 1.0, zero = 0.0; variable
121 D_RE(ans) = one; in ctanh()
132 D_RE(ans) = one; in ctanh()
165 r = (four * C) * (t + one); in ctanh()
167 v = one / (u + r * C); in ctanh()
/illumos-gate/usr/src/cmd/refer/
H A Drefer2.c21 char one[ANSLEN]; variable
106 one[0] = 0; in doref()
123 assert(strlen(one) < ANSLEN); in doref()
144 nf = tabs(flds, one); in doref()
152 if (one[0] == 0) in doref()
153 corout(answer, one, "deliv", dr, QLEN); in doref()
157 assert(strlen(one) < ANSLEN); in doref()
158 nf = tabs(flds, one); in doref()
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dexp2l.c50 one = 1.0L; variable
69 return (one + x); in exp2l()
78 return (scalbnl(one, unflexp)); /* underflow */ in exp2l()
80 return (scalbnl(one, ovflexp)); /* overflow */ in exp2l()
H A D__cosl.c68 one = 1.0L, variable
114 return (one); /* generate inexact */ in __k_cosl()
118 return one + z * (qq1 + z * (qq2 + z * (qq3 + in __k_cosl()
121 return one + z * (q1 + z * (q2 + z * (q3 + in __k_cosl()
135 w = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * pp5))))); in __k_cosl()
H A D__tanl.c72 one = 1.0L, variable
138 return (k == 0 ? w : -one / w); in __k_tanl()
152 s = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * pp5))))); in __k_tanl()
155 t = _TBL_tanl_lo[i] + (s + a * w) / (one - (w - t)); in __k_tanl()
160 z = one - (a * s - t); in __k_tanl()
/illumos-gate/usr/src/lib/libm/common/LD/
H A D__cosl.c71 one = 1.0, variable
118 return (one); /* generate inexact */ in __k_cosl()
122 return (one + z * (qq1 + z * (qq2 + z * (qq3 + z * in __k_cosl()
125 return (one + z * (q1 + z * (q2 + z * (q3 + z * (q4 + in __k_cosl()
142 w = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * in __k_cosl()
H A D__tanl.c75 one = 1.0, variable
141 return (k == 0 ? w : -one / w); in __k_tanl()
159 s = x * (one + z * (pp1 + z * (pp2 + z * (pp3 + z * (pp4 + z * in __k_tanl()
163 t = _TBL_tanl_lo[i] + (s + a * w) / (one - (w - t)); in __k_tanl()
168 z = (one - (a * s - t)); in __k_tanl()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dasinh.c93 one =1.0 ; variable
98 if((t=copysign(x,one))>small)
100 s=one/t; return(copysign(log1p(t+t/(s+sqrt(one+s*s))),x)); }
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch.h1379 type = type_bits(one.type) > type_bits(two.type) ? one.type : two.type; in fp_cmp()
1380 else if (sval_is_fp(one)) in fp_cmp()
1381 type = one.type; in fp_cmp()
1385 one = sval_cast(type, one); in fp_cmp()
1389 if (one.fvalue < two.fvalue) in fp_cmp()
1396 if (one.dvalue < two.dvalue) in fp_cmp()
1418 return fp_cmp(one, two); in sval_cmp()
1420 type = one.type; in sval_cmp()
1426 one = sval_cast(type, one); in sval_cmp()
1437 if (one.value < two.value) in sval_cmp()
[all …]
H A Dsmatch_estate.c210 static int rlists_equiv(struct related_list *one, struct related_list *two) in rlists_equiv() argument
215 PREPARE_PTR_LIST(one, one_rel); in rlists_equiv()
235 int estates_equiv(struct smatch_state *one, struct smatch_state *two) in estates_equiv() argument
237 if (!one || !two) in estates_equiv()
239 if (one == two) in estates_equiv()
241 if (!rlists_equiv(estate_related(one), estate_related(two))) in estates_equiv()
243 if (estate_capped(one) != estate_capped(two)) in estates_equiv()
245 if (estate_treat_untagged(one) != estate_treat_untagged(two)) in estates_equiv()
247 if (estate_has_hard_max(one) != estate_has_hard_max(two)) in estates_equiv()
249 if (estate_new(one) != estate_new(two)) in estates_equiv()
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/
H A Dfollow_params.pl53 my $one = shift;
56 if (!defined($param_map{$one})) {
57 $param_map{$one} = {used => $UNUSED, links => []};
59 push @{$param_map{$one}{links}}, $two;
H A Dtrace_params.pl64 my $one = shift;
67 if (!defined($param_map{$one})) {
68 $param_map{$one} = {found => $UNKNOWN, links => []};
70 push @{$param_map{$one}->{links}}, $two;
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dbigrow.test130 INSERT INTO t1(a,b,c) VALUES('one','abcdefghijklmnopqrstuvwxyz0123','hi');
133 } {one 30 hi}
141 } {one 240 hi}
146 } "one [expr {240+$i}] hi"
157 } {one 30 hi}
174 } {one 122880 hi}
180 } {one 65515 hi}
185 } "one [expr {65515+$i}] hi"
197 } {one 30 hi}
205 } "one $sz hi"
[all …]
/illumos-gate/usr/src/lib/libm/common/R/
H A D__tanf.c60 #define one q[0] macro
83 ft = n == 0 ? (float) x : (float) (-one / x); in __k_tanf()
88 ft = n == 0 ? (float) z : (float) (-one / z); in __k_tanf()
94 ft = n == 0 ? (float) w : (float) (-one / w); in __k_tanf()
H A Dpowf.c123 static const float zero = 0.0F, one = 1.0F, huge = 1.0e25f, tiny = 1.0e-25f; variable
138 return (one); /* x**+-0 = 1 */ in powf()
140 return (one); /* C99: 1**anything = 1 */ in powf()
169 fz = one; in powf()
189 fx = one / fx; /* y is -1 */ in powf()
205 fz = one / fz; in powf()

12345678910>>...47