Home
last modified time | relevance | path

Searched refs:sx (Results 1 – 25 of 56) sorted by relevance

123

/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dnearbyintf.c41 unsigned hx, sx, i, frac; in __nearbyintf() local
45 sx = xx.i & 0x80000000; in __nearbyintf()
66 xx.i = sx | 0x3f800000; in __nearbyintf()
68 xx.i = sx; in __nearbyintf()
81 xx.i = sx | (hx + i); in __nearbyintf()
83 xx.i = sx | hx; in __nearbyintf()
111 sx = xx.i & 0x80000000;
127 if (sx)
130 xx.i = sx | 0x3f800000;
132 xx.i = sx;
[all …]
H A Dlroundl.c47 unsigned hx, sx, frac, l; in lroundl() local
51 sx = xx.i[0] & 0x80000000; in lroundl()
57 tt.i = sx | 0x7f000000; in lroundl()
64 return (sx ? -1L : 1L); in lroundl()
88 if (l > 0x80000000U || (l == 0x80000000U && !sx)) { in lroundl()
89 tt.i = sx | 0x7f000000; in lroundl()
94 if (sx) in lroundl()
105 int ex, sx, i; in lroundl() local
109 sx = xx.i[2] & 0x8000; in lroundl()
113 return (sx ? -1L : 1L); in lroundl()
[all …]
H A Dllroundl.c53 unsigned hx, sx, frac; in llroundl() local
57 sx = xx.i[0] & 0x80000000; in llroundl()
63 tt.i = sx | 0x7f000000; in llroundl()
70 return (sx ? -1LL : 1LL); in llroundl()
105 !sx))) { in llroundl()
106 tt.i = sx | 0x7f000000; in llroundl()
111 if (sx) { in llroundl()
127 int ex, sx, i; in llroundl() local
131 sx = xx.i[2] & 0x8000; in llroundl()
137 return (sx ? -1LL : 1LL); in llroundl()
[all …]
H A Dremquo.c68 sx = hx & 0x80000000; /* sign of x */ in fmodquo()
70 hx ^= sx; /* |x| */ in fmodquo()
84 return (Zero[(unsigned) sx >> 31]); in fmodquo()
179 return (Zero[(unsigned) sx >> 31]); in fmodquo()
188 __HI(x) = hx | sx; in fmodquo()
197 hx = sx; in fmodquo()
200 hx = sx; in fmodquo()
202 __HI(x) = hx | sx; in fmodquo()
213 int hx, hy, sx, sq; in remquo() local
222 hx ^= sx; /* |x| */ in remquo()
[all …]
H A Droundl.c41 unsigned hx, sx, v; in roundl() local
45 sx = xx.i[0] & 0x80000000; in roundl()
55 return (sx ? -1.0L : 1.0L); in roundl()
56 return (sx ? -0.0L : 0.0L); in roundl()
117 if (sx) in roundl()
128 int ex, sx, i; in roundl() local
132 sx = xx.i[2] & 0x8000; in roundl()
136 return (sx ? -1.0L : 1.0L); in roundl()
137 return (sx ? -0.0L : 0.0L); in roundl()
153 xx.i[2] = sx | ++ex; in roundl()
H A Dtruncl.c41 unsigned hx, sx; in truncl() local
45 sx = xx.i[0] & 0x80000000; in truncl()
54 return (sx ? -0.0L : 0.0L); in truncl()
71 if (sx) in truncl()
82 int ex, sx, i; in truncl() local
86 sx = xx.i[2] & 0x8000; in truncl()
89 return (sx ? -0.0L : 0.0L); in truncl()
H A Dlrintl.c51 unsigned int hx, sx, frac, l, fsr; in lrintl() local
56 sx = xx.i[0] & 0x80000000; in lrintl()
62 tt.i = sx | 0x7f000000; in lrintl()
72 if (sx) in lrintl()
81 return (sx ? -1L : 1L); in lrintl()
106 if (l > 0x80000000U || (l == 0x80000000U && !sx)) { in lrintl()
107 tt.i = sx | 0x7f000000; in lrintl()
118 if (sx) in lrintl()
H A Dllrintl.c57 unsigned int hx, sx, frac, fsr; in llrintl() local
62 sx = xx.i[0] & 0x80000000; in llrintl()
68 tt.i = sx | 0x7f000000; in llrintl()
78 if (sx) in llrintl()
87 return (sx ? -1LL : 1LL); in llrintl()
123 !sx))) { in llrintl()
124 tt.i = sx | 0x7f000000; in llrintl()
135 if (sx) { in llrintl()
H A Droundf.c40 unsigned hx, sx, i; in roundf() local
44 sx = xx.i & 0x80000000; in roundf()
48 return (sx ? -1.0F : 1.0F); in roundf()
49 return (sx ? -0.0F : 0.0F); in roundf()
H A Dnearbyint.c50 unsigned hx, sx, i, frac; in __nearbyint() local
54 sx = xx.i[HIWORD] & 0x80000000; in __nearbyint()
74 if (sx && (rm == FE_UPWARD || rm == FE_DOWNWARD)) in __nearbyint()
81 xx.i[HIWORD] = sx | 0x3ff00000; in __nearbyint()
83 xx.i[HIWORD] = sx; in __nearbyint()
H A Dround.c40 unsigned hx, sx, i; in round() local
44 sx = xx.i[HIWORD] & 0x80000000; in round()
48 return (sx ? -1.0 : 1.0); in round()
49 return (sx ? -0.0 : 0.0); in round()
H A Dnearbyintl.c49 unsigned hx, sx, i, frac; in __nearbyintl() local
55 sx = xx.i[0] & 0x80000000; in __nearbyintl()
65 xx.i[0] = sx | hx | 0x8000; in __nearbyintl()
76 if (sx) in __nearbyintl()
83 xx.i[0] = sx | 0x3fff0000; in __nearbyintl()
85 xx.i[0] = sx; in __nearbyintl()
H A Dremquol.c60 int n, ix, iy, k, sx, sq, m; in fmodquol() local
74 sx = hx & is; in fmodquol()
76 x0 = hx ^ sx; in fmodquol()
259 __H0(a) = sx | (x0 - iu) | ((iy + 16383) << 16); in fmodquol()
284 __H0(a) = x0 | sx; in fmodquol()
295 int hx, hy, sx, sq; in remquol() local
300 sx = hx & is; /* sign of x */ in remquol()
302 hx ^= sx; /* |x| */ in remquol()
345 return (sx == 0 ? x : -x); in remquol()
H A Dlroundf.c42 unsigned hx, sx, i; in lroundf() local
46 sx = xx.i & 0x80000000; in lroundf()
50 return (sx ? -1L : 1L); in lroundf()
H A Dtruncf.c40 unsigned hx, sx, i; in truncf() local
44 sx = xx.i & 0x80000000; in truncf()
47 return (sx ? -0.0F : 0.0F); in truncf()
H A Dllroundf.c44 unsigned hx, sx, i; in llroundf() local
48 sx = xx.i & 0x80000000; in llroundf()
54 return (sx ? -1LL : 1LL); in llroundf()
H A Dtrunc.c40 unsigned hx, sx, i; in trunc() local
44 sx = xx.i[HIWORD] & 0x80000000; in trunc()
47 return (sx ? -0.0 : 0.0); in trunc()
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.sub1140 1root:EMpNB8Zp56:0:0:Super-User,,,,,,,:/:/bin/sx
144 5daemon:*:1:1:daemons:/:/bin/sx
148 9sys:*:4:0:System Activity Owner:/usr/adm:/bin/sx
149 10adm:*:5:3:Accounting Files Owner:/usr/adm:/bin/sx
150 11lp:*:9:9:Print Spooler Owner:/var/spool/lp:/bin/sx
151 12auditor:*:11:0:Audit Activity Owner:/auditor:/bin/sx
170 1r oot EMpNB8Zp56 0 0 Super-User,,,,,,, / /bin/sx
174 5d aemon * 1 1 daemons / /bin/sx
178 9s ys * 4 0 System Activity Owner /usr/adm /bin/sx
179 10 adm * 5 3 Accounting Files Owner /usr/adm /bin/sx
[all …]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dtouchwin.c48 touchline(WINDOW *win, int y, int sx, int ex) in touchline() argument
51 fprintf(outf, "TOUCHLINE(%0.2o, %d, %d, %d)\n", win, y, sx, ex); in touchline()
55 sx += win->_ch_off; in touchline()
58 win->_firstch[y] = (short)sx; in touchline()
61 if (win->_firstch[y] > sx) in touchline()
62 win->_firstch[y] = (short)sx; in touchline()
/illumos-gate/usr/src/common/crypto/ecc/
H A Dec2_aff.c194 mp_int k, k3, qx, qy, sx, sy; in ec_GF2m_pt_mul_aff() local
201 MP_DIGITS(&sx) = 0; in ec_GF2m_pt_mul_aff()
207 MP_CHECKOK(mp_init(&sx)); in ec_GF2m_pt_mul_aff()
228 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GF2m_pt_mul_aff()
232 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
236 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
252 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
258 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
262 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff()
267 MP_CHECKOK(mp_copy(&sx, rx)); in ec_GF2m_pt_mul_aff()
[all …]
H A Decp_aff.c207 mp_int k, k3, qx, qy, sx, sy; in ec_GFp_pt_mul_aff() local
214 MP_DIGITS(&sx) = 0; in ec_GFp_pt_mul_aff()
220 MP_CHECKOK(mp_init(&sx)); in ec_GFp_pt_mul_aff()
241 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GFp_pt_mul_aff()
245 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
249 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
265 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
271 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
275 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff()
280 MP_CHECKOK(mp_copy(&sx, rx)); in ec_GFp_pt_mul_aff()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/
H A Dhashview.c48 register Hash_bucket_t** sx; in hashview() local
60 sx = &top->table[top->size]; in hashview()
62 while (sp < sx) in hashview()
75 sx = &top->table[top->size]; in hashview()
77 while (sp < sx) in hashview()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vatan2f.c59 int i, k0 = 0, k1, k2, hx, sx, sy; in __vatan2f() local
77 sx = hx & 0x80000000; in __vatan2f()
92 if (sx) in __vatan2f()
112 if (sx) in __vatan2f()
191 sx = hx & 0x80000000; in __vatan2f()
206 if (sx) in __vatan2f()
226 if (sx) in __vatan2f()
303 sx = hx & 0x80000000; in __vatan2f()
318 if (sx) in __vatan2f()
338 if (sx) in __vatan2f()
H A D__vatan2.c74 int i, k, hx, hy, sx, sy; in __vatan2() local
85 sx = hx & 0x80000000; in __vatan2()
95 if (sx) in __vatan2()
111 if (sx) in __vatan2()
200 sx = hx & 0x80000000; in __vatan2()
210 if (sx) in __vatan2()
226 if (sx) in __vatan2()
315 sx = hx & 0x80000000; in __vatan2()
325 if (sx) in __vatan2()
341 if (sx) in __vatan2()
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dstrcoll-strxfrm-6907.c107 int sx = strcmp(data[i].xval, data[j].xval); in main() local
109 if ((sr * sx < 0) || (sr * sx == 0 && sr + sx != 0)) { in main()

123