Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 1418) sorted by relevance

12345678910>>...57

/titanic_51/usr/src/lib/libm/common/C/
H A D__lgamma.c125 double y, z; in sin_pi() local
128 y = -x; in sin_pi()
129 if (y <= 0.25) in sin_pi()
131 if (y >= two52) in sin_pi()
133 z = floor(y); in sin_pi()
134 if (y == z) in sin_pi()
137 /* argument reduction: set y = |x| mod 2 */ in sin_pi()
138 y *= 0.5; in sin_pi()
139 y = 2.0 * (y in sin_pi()
207 double t, p, q, cr, y; __k_lgamma() local
[all...]
H A D__rem_pio2.c30 * __rem_pio2(x, y) passes back a better-than-double-precision
31 * approximation to x mod pi/2 in y[0]+y[1] and returns an integer
64 __rem_pio2(double x, double *y) { in __rem_pio2() argument
76 y[0] = t - pio2_1t; in __rem_pio2()
77 y[1] = (t - y[0]) - pio2_1t; in __rem_pio2()
80 y[0] = t - pio2_2t; in __rem_pio2()
81 y[1] = (t - y[ in __rem_pio2()
[all...]
/titanic_51/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dcyclic_oper.h44 #define _ABS_DIFF(x, y) ((x) > (y) ? (x) - (y) : (y) - (x)) argument
46 static __inline u8_t _cyclic_lt(u32_t x, u32_t y, u32_t d) in _cyclic_lt() argument
48 u32_t diff = _ABS_DIFF(x,y); in _cyclic_lt()
49 return (diff < d) ? x < y : x > y; in _cyclic_lt()
52 static __inline u8_t _cyclic_le(u32_t x, u32_t y, u32_t d) in _cyclic_le() argument
54 u32_t diff = _ABS_DIFF(x,y); in _cyclic_le()
58 CYCLIC_LT_8(x,y) global() argument
59 CYCLIC_LT_16(x,y) global() argument
60 CYCLIC_LT_24(x,y) global() argument
61 CYCLIC_LT_32(x,y) global() argument
63 CYCLIC_LE_8(x,y) global() argument
64 CYCLIC_LE_16(x,y) global() argument
65 CYCLIC_LE_24(x,y) global() argument
66 CYCLIC_LE_32(x,y) global() argument
68 CYCLIC_GT_8(x,y) global() argument
69 CYCLIC_GT_16(x,y) global() argument
70 CYCLIC_GT_24(x,y) global() argument
71 CYCLIC_GT_32(x,y) global() argument
73 CYCLIC_GE_8(x,y) global() argument
74 CYCLIC_GE_16(x,y) global() argument
75 CYCLIC_GE_24(x,y) global() argument
76 CYCLIC_GE_32(x,y) global() argument
79 CYCLIC_LT_BITS(x,y,bits) global() argument
80 CYCLIC_LE_BITS(x,y,bits) global() argument
81 CYCLIC_GT_BITS(x,y,bits) global() argument
82 CYCLIC_GE_BITS(x,y,bits) global() argument
[all...]
/titanic_51/usr/src/cmd/audio/include/
H A DAudioTypes.h144 inline Double& operator += (double y)
145 { val += y; return (*this); }
146 inline Double& operator -= (double y)
147 { val -= y; return (*this); }
153 inline double min(const Double& x, const Double& y) { in min() argument
154 return (((double)x < (double)y) ? (double)x : (double)y); in min()
157 inline double min(const Double& x, double y) { in min() argument
158 return (((double)x < (double)y) ? (double)x : (double)y); in min()
160 min(double x,const Double & y) min() argument
164 max(const Double & x,const Double & y) max() argument
167 max(const Double & x,double y) max() argument
170 max(double x,const Double & y) max() argument
[all...]
/titanic_51/usr/src/lib/libm/amd64/src/
H A Dpowl.s34 / 1 ** y is 1 (C99)
36 / NaN ** y (except 0) is NaN
43 / +0 ** +y (except 0, NaN) is +0
44 / -0 ** +y (except 0, NaN, odd int) is +0
45 / +0 ** -y (except 0, NaN) is +inf (z flag)
46 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
47 / -0 ** y (odd int) is - (+0 ** x)
48 / +inf ** +y (except 0, NaN) is +inf
49 / +inf ** -y (except 0, NaN) is +0
50 / -inf ** +-y (excep
[all...]
/titanic_51/usr/src/lib/libc/sparc/fp/
H A D_Q_fcc.c41 * _Q_feq(x, y) returns nonzero if *x == *y and zero otherwise.
42 * If either *x or *y is a signaling NaN, the invalid operation
46 _Q_feq(const union longdouble *x, const union longdouble *y) in _Q_feq() argument
50 if (QUAD_ISNAN(*x) || QUAD_ISNAN(*y)) { in _Q_feq()
52 (QUAD_ISNAN(*y) && !(y->l.msw & 0x8000))) { in _Q_feq()
56 __quad_fcmpq(x, y, &fsr); in _Q_feq()
65 if (QUAD_ISZERO(*x) && QUAD_ISZERO(*y)) in _Q_feq()
67 return ((x->l.msw ^ y in _Q_feq()
77 _Q_fne(const union longdouble * x,const union longdouble * y) _Q_fne() argument
107 _Q_flt(const union longdouble * x,const union longdouble * y) _Q_flt() argument
150 _Q_fle(const union longdouble * x,const union longdouble * y) _Q_fle() argument
194 _Q_fgt(const union longdouble * x,const union longdouble * y) _Q_fgt() argument
237 _Q_fge(const union longdouble * x,const union longdouble * y) _Q_fge() argument
[all...]
/titanic_51/usr/src/lib/libm/i386/src/
H A Dpow.s32 / does because y is placed on the NPX stack.
37 / 1 ** y is 1 (C99)
39 / NaN ** y (except 0) is NaN
46 / +0 ** +y (except 0, NaN) is +0
47 / -0 ** +y (except 0, NaN, odd int) is +0
48 / -0 ** +y (odd int) is -0
49 / +-0 ** -y (except 0, NaN) _SVID_libm_err
50 / +inf ** +y (except 0, NaN) is +inf
51 / +inf ** -y (except 0, NaN) is +0
52 / -inf ** +-y (excep
[all...]
H A Dpowf.s32 / does because y is placed on the NPX stack.
37 / 1 ** y is 1 (C99)
39 / NaN ** y (except 0) is NaN
46 / +0 ** +y (except 0, NaN) is +0
47 / -0 ** +y (except 0, NaN, odd int) is +0
48 / +0 ** -y (except 0, NaN) is +inf (z flag)
49 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
50 / -0 ** y (odd int) is - (+0 ** x)
51 / +inf ** +y (except 0, NaN) is +inf
52 / +inf ** -y (excep
[all...]
H A Dpowl.s34 / 1 ** y is 1 (C99)
36 / NaN ** y (except 0) is NaN
43 / +0 ** +y (except 0, NaN) is +0
44 / -0 ** +y (except 0, NaN, odd int) is +0
45 / +0 ** -y (except 0, NaN) is +inf (z flag)
46 / -0 ** -y (except 0, NaN, odd int) is +inf (z flag)
47 / -0 ** y (odd int) is - (+0 ** x)
48 / +inf ** +y (except 0, NaN) is +inf
49 / +inf ** -y (except 0, NaN) is +0
50 / -inf ** +-y (excep
[all...]
H A Dhypot.s43 jz .x_maybe_0 / if x = +/-0, return |y|
47 movl 16(%esp),%eax / eax <-- hi_32(y)
48 andl $0x7fffffff,%eax / eax <-- hi_32(|y|)
49 jz .y_maybe_0 / if y = +/-0, return |x|
50 subl $0x7ff00000,%eax / eax <-- hi_32(|y|) - hi_32(INF)
53 fldl 12(%esp) / ,y
54 fmul %st(0),%st / ,y*y
55 fldl 4(%esp) / x,y*y
[all...]
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dpointtype.sh33 float y=0
36 print -r $((sqrt(_.x*_.x + _.y*_.y)))
48 Pt_t q=(y=2)
53 print -r $((abs(_.x)+abs(_.y) ))
57 [[ ${p.y} == 2 ]] || err_exit '${p[y]} is not 2'
62 Pt_t pp=( ( x=3 y=4) ( x=5 y=12) (y=2) )
68 pp+=( x=6 y=8)
74 Pt_t pp=( [one]=( x=3 y=4) [two]=( x=5 y=12) [three]=(y=2) )
84 Pt_t _=(x=3 y=6)
88 print -r $((sqrt(_.x*_.x + _.y*_.y + _.z*_.z)))
[all …]
/titanic_51/usr/src/lib/libm/common/R/
H A Dtanf.c76 double y, z, w; in tanf() local
84 y = (double)x; in tanf()
90 i = (int)y; in tanf()
96 return ((float)((y * T0) * (T1 + y * y))); in tanf()
98 z = y * y; in tanf()
99 return ((float)(((P0 * y) * (P1 + z * (P2 + z)) * in tanf()
104 y in tanf()
[all...]
H A Dsinf.c76 double y, z, w; in sinf() local
84 y = (double)x; in sinf()
89 i = (int)y; in sinf()
95 z = y * y; in sinf()
96 return ((float)((y * (S0 + z * S1)) * in sinf()
99 y = (y - pio2_1) - pio2_t; in sinf()
100 z = y * y; in sinf()
[all...]
H A Dcosf.c76 double y, z, w; in cosf() local
84 y = (double)x; in cosf()
89 i = (int)y; in cosf()
95 z = y * y; in cosf()
99 y = (y - pio2_1) - pio2_t; in cosf()
100 z = y * y; in cosf()
101 return ((float)-((y * (S in cosf()
[all...]
H A Dsincosf.c98 double y, z, w; in sincosf() local
106 y = (double)x; in sincosf()
111 i = (int)y; in sincosf()
119 z = y * y; in sincosf()
120 *s = (float)((y * (S0 + z * S1)) * in sincosf()
125 y = (y - pio2_1) - pio2_t; in sincosf()
126 z = y * y; in sincosf()
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dpointtype.sh33 float y=0
36 print -r $((sqrt(_.x*_.x + _.y*_.y)))
48 Pt_t q=(y=2)
53 print -r $((abs(_.x)+abs(_.y) ))
57 [[ ${p.y} == 2 ]] || err_exit '${p[y]} is not 2'
62 Pt_t pp=( ( x=3 y=4) ( x=5 y=12) (y
[all...]
/titanic_51/usr/src/ucblib/libcurses/
H A Daddch.c34 int x, y; in waddch() local
38 y = win->_cury; in waddch()
40 fprintf(outf, "ADDCH('%c') at (%d, %d)\n", c, y, x); in waddch()
51 fprintf(outf, "ADDCH: 1: y = %d, x = %d, firstch = %d," in waddch()
52 " lastch = %d\n", y, x, win->_firstch[y], in waddch()
53 win->_lastch[y]); in waddch()
57 set_ch(win, y, x, c); in waddch()
58 win->_y[y][x++] = c; in waddch()
62 if (++y > in waddch()
100 set_ch(WINDOW * win,int y,int x,int ch) set_ch() argument
[all...]
H A Dtouchwin.c34 int y, maxy; in touchwin() local
40 for (y = 0; y < maxy; y++) in touchwin()
41 (void) touchline(win, y, 0, win->_maxx - 1); in touchwin()
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()
55 win->_firstch[y], win->_lastch[y]); in touchline()
59 if (win->_firstch[y] in touchline()
[all...]
/titanic_51/usr/src/lib/libm/common/LD/
H A Dsinpil.c35 * Let y = |4x|, z = floor(y), and n = (int)(z mod 8.0) (displayed in binary).
36 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
53 * 000 (y-z)/4 sinpi(t) cospi(t) tanpi(t)
54 * 001 (z+1-y)/4 cospi(t) sinpi(t) 1/tanpi(t)
55 * 010 (y-z)/4 cospi(t) -sinpi(t) -1/tanpi(t)
56 * 011 (z+1-y)/4 sinpi(t) -cospi(t) -tanpi(t)
57 * 100 (y-z)/4 -sinpi(t) -cospi(t) tanpi(t)
58 * 101 (z+1-y)/4 -cospi(t) -sinpi(t) 1/tanpi(t)
59 * 110 (y
103 long double y, z, t; sinpil() local
[all...]
/titanic_51/usr/src/lib/libm/common/Q/
H A Dsinpil.c36 * Let y = |4x|, z = floor(y), and n = (int)(z mod 8.0) (displayed in binary).
37 * 1. If y == z, then x is a multiple of pi/4. Return the following values:
54 * 000 (y-z)/4 sinpi(t) cospi(t) tanpi(t)
55 * 001 (z+1-y)/4 cospi(t) sinpi(t) 1/tanpi(t)
56 * 010 (y-z)/4 cospi(t) -sinpi(t) -1/tanpi(t)
57 * 011 (z+1-y)/4 sinpi(t) -cospi(t) -tanpi(t)
58 * 100 (y-z)/4 -sinpi(t) -cospi(t) tanpi(t)
59 * 101 (z+1-y)/4 -cospi(t) -sinpi(t) 1/tanpi(t)
60 * 110 (y
102 long double y, z, t; sinpil() local
[all...]
H A Derfl.c281 long double s,y,t; local
288 y = fabsl(x);
289 if (y <= 0.84375L) {
290 if (y<=tiny) return x+P[0]*x;
291 s = y*y;
295 if (y<=1.25L) {
296 s = y-one;
299 } else if (y<=1.75L) {
300 s = y
311 long double s,y,t; global() local
[all...]
/titanic_51/usr/src/lib/libmvec/common/
H A D__vhypot.c47 /* double hypot(double x, double y)
51 * x or y is +Inf or -Inf => +Inf
52 * x or y is NaN => QNaN
53 * 2. Computes hypot(x,y):
54 * hypot(x,y) = m * sqrt(xnm * xnm + ynm * ynm)
56 * m = max(|x|,|y|)
58 * ynm = y * (1/m)
106 double x, y, res; in __vhypot() local
134 y = *py; in __vhypot()
136 y in __vhypot()
[all...]
/titanic_51/usr/src/lib/iconv_modules/ko/common/
H A Dutf_to_ojh_sub.c42 unsigned int uni, x, y, z; in _utf8_to_johap82() local
47 y = (uni % 588) / 28; in _utf8_to_johap82()
54 y == 0x14 ? y + 9 : in _utf8_to_johap82()
55 y > 0x10 ? y + 8 : in _utf8_to_johap82()
56 y > 0x0D ? y + 7 : in _utf8_to_johap82()
57 y > 0x0A ? y in _utf8_to_johap82()
[all...]
/titanic_51/usr/src/lib/libmp/common/
H A Dmadd.c70 MINT x, y; in mp_madd() local
73 x.len = y.len = 0; in mp_madd()
75 _mp_move(b, &y); in mp_madd()
79 if (y.len >= 0) { in mp_madd()
80 if (x.len >= y.len) { in mp_madd()
81 m_add(&x, &y, c); in mp_madd()
83 m_add(&y, &x, c); in mp_madd()
86 y.len = -y.len; in mp_madd()
87 mp_msub(&x, &y, in mp_madd()
160 MINT x, y; mp_msub() local
[all...]
/titanic_51/usr/src/lib/libm/common/complex/
H A Dcacosl.c76 long double x, y, t, R, S, A, Am1, B, y2, xm1, xp1, Apx; in cacosl() local
81 y = LD_IM(z); in cacosl()
83 hy = HI_XWORD(y); in cacosl()
89 if (y == zero || (iy >= 0x7fff0000)) { in cacosl()
91 LD_IM(ans) = -y; in cacosl()
96 /* |y| is inf or NaN */ in cacosl()
98 if (isinfl(y)) { /* cacos(x + i inf) = pi/2 - i inf */ in cacosl()
99 LD_IM(ans) = -y; in cacosl()
111 LD_RE(ans) = y + x; in cacosl()
115 LD_IM(ans) = y; in cacosl()
[all...]

12345678910>>...57