/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | nearbyintf.c | 41 unsigned hx, sx, i, frac; in __nearbyintf() local 45 sx = xx.i & 0x80000000; in __nearbyintf() 60 if (sx && (rm == FE_UPWARD || rm == FE_DOWNWARD)) 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() 107 unsigned hx, sx, fsr, oldfsr; 111 sx = xx.i & 0x80000000; 127 if (sx) [all …]
|
H A D | lroundl.c | 47 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 D | llroundl.c | 53 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 D | remquo.c | 61 int n, hx, hy, hz, ix, iy, sx, sq, i, m; in fmodquo() local 68 sx = hx & 0x80000000; /* sign of x */ in fmodquo() 70 hx ^= sx; /* |x| */ in fmodquo() 84 return (Zero[(unsigned) sx >> 31]); in fmodquo() 158 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() [all …]
|
H A D | roundl.c | 41 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 D | truncl.c | 41 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 D | lrintl.c | 51 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 D | llrintl.c | 57 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 D | roundf.c | 40 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 D | round.c | 40 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 D | nearbyint.c | 50 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 D | nearbyintl.c | 49 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 D | remquol.c | 60 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 D | truncf.c | 40 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 D | lroundf.c | 42 unsigned hx, sx, i; in lroundf() local 46 sx = xx.i & 0x80000000; in lroundf() 50 return (sx ? -1L : 1L); in lroundf()
|
H A D | llroundf.c | 44 unsigned hx, sx, i; in llroundf() local 48 sx = xx.i & 0x80000000; in llroundf() 54 return (sx ? -1LL : 1LL); in llroundf()
|
H A D | trunc.c | 40 unsigned hx, sx, i; in trunc() local 44 sx = xx.i[HIWORD] & 0x80000000; in trunc() 47 return (sx ? -0.0 : 0.0); in trunc()
|
H A D | lround.c | 50 unsigned hx, sx, i; in lround() local 54 sx = xx.i[HIWORD] & 0x80000000; in lround() 58 return (sx ? -1L : 1L); in lround()
|
H A D | llround.c | 53 unsigned hx, sx, i; in llround() local 57 sx = xx.i[HIWORD] & 0x80000000; in llround() 63 return (sx ? -1LL : 1LL); in llround()
|
/titanic_41/usr/src/ucblib/libcurses/ |
H A D | touchwin.c | 50 touchline(WINDOW *win, int y, int sx, int ex) in touchline() argument 53 fprintf(outf, "TOUCHLINE(%0.2o, %d, %d, %d)\n", win, y, sx, ex); in touchline() 57 sx += win->_ch_off; in touchline() 60 win->_firstch[y] = (short)sx; in touchline() 63 if (win->_firstch[y] > sx) in touchline() 64 win->_firstch[y] = (short)sx; in touchline()
|
/titanic_41/usr/src/common/crypto/ecc/ |
H A D | ec2_aff.c | 196 mp_int k, k3, qx, qy, sx, sy; in ec_GF2m_pt_mul_aff() local 203 MP_DIGITS(&sx) = 0; in ec_GF2m_pt_mul_aff() 209 MP_CHECKOK(mp_init(&sx)); in ec_GF2m_pt_mul_aff() 230 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GF2m_pt_mul_aff() 234 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff() 238 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff() 247 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GF2m_pt_mul_aff() 254 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff() 260 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff() 264 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GF2m_pt_mul_aff() [all …]
|
H A D | ecp_aff.c | 209 mp_int k, k3, qx, qy, sx, sy; in ec_GFp_pt_mul_aff() local 216 MP_DIGITS(&sx) = 0; in ec_GFp_pt_mul_aff() 222 MP_CHECKOK(mp_init(&sx)); in ec_GFp_pt_mul_aff() 243 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GFp_pt_mul_aff() 247 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff() 251 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff() 260 MP_CHECKOK(mp_copy(&qx, &sx)); in ec_GFp_pt_mul_aff() 267 MP_CHECKOK(group->point_dbl(&sx, &sy, &sx, &sy, group)); in ec_GFp_pt_mul_aff() 273 point_add(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff() 277 point_sub(&sx, &sy, &qx, &qy, &sx, &sy, group)); in ec_GFp_pt_mul_aff() [all …]
|
/titanic_41/usr/src/lib/libast/common/hash/ |
H A D | hashview.c | 48 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()
|
/titanic_41/usr/src/lib/libmvec/common/ |
H A D | __vatan2f.c | 59 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.c | 74 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()
|