Home
last modified time | relevance | path

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

123

/lk-master/external/lib/libm/
A Dk_tan.c81 double z, r, v, w, s; in __kernel_tan() local
92 w = pio4lo - y; in __kernel_tan()
93 x = z + w; in __kernel_tan()
97 w = z * z; in __kernel_tan()
103 r = T[1] + w * (T[3] + w * (T[5] + w * (T[7] + w * (T[9] + in __kernel_tan()
105 v = z * (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + in __kernel_tan()
110 w = x + r; in __kernel_tan()
114 (v - 2.0 * (x - (w * w / (w + v) - r))); in __kernel_tan()
117 return w; in __kernel_tan()
125 z = w; in __kernel_tan()
[all …]
A De_asinf.c44 float t=0.0,w,p,q,c,r,s; in __ieee754_asinf() local
60 w = p/q; in __ieee754_asinf()
61 return x+x*w; in __ieee754_asinf()
64 w = one-fabsf(x); in __ieee754_asinf()
65 t = w*(float)0.5; in __ieee754_asinf()
70 w = p/q; in __ieee754_asinf()
74 w = s; in __ieee754_asinf()
75 GET_FLOAT_WORD(iw,w); in __ieee754_asinf()
76 SET_FLOAT_WORD(w,iw&0xfffff000); in __ieee754_asinf()
77 c = (t-w*w)/(s+w); in __ieee754_asinf()
[all …]
A Ds_atan.c76 double w,s1,s2,z; in atan() local
111 w = z*z; in atan()
113 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); in atan()
114 s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9])))); in atan()
A De_asin.c73 double t=0.0,w,p,q,c,r,s; in __ieee754_asin() local
91 w = p/q; in __ieee754_asin()
92 return x+x*w; in __ieee754_asin()
95 w = one-fabs(x); in __ieee754_asin()
96 t = w*0.5; in __ieee754_asin()
101 w = p/q; in __ieee754_asin()
102 t = pio2_hi-(2.0*(s+s*w)-pio2_lo); in __ieee754_asin()
104 w = s; in __ieee754_asin()
105 SET_LOW_WORD(w,0); in __ieee754_asin()
106 c = (t-w*w)/(s+w); in __ieee754_asin()
[all …]
A Dk_cos.c71 double hz,z,r,w; in __kernel_cos() local
74 w = z*z; in __kernel_cos()
75 r = z*(C1+z*(C2+z*C3)) + w*w*(C4+z*(C5+z*C6)); in __kernel_cos()
77 w = one-hz; in __kernel_cos()
78 return w + (((one-w)-hz) + (z*r-x*y)); in __kernel_cos()
A De_rem_pio2.c57 double z,w,t,r,fn; in __ieee754_rem_pio2() local
143 y[0] = r-w; in __ieee754_rem_pio2()
148 w = fn*pio2_2; in __ieee754_rem_pio2()
149 r = t-w; in __ieee754_rem_pio2()
150 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2()
151 y[0] = r-w; in __ieee754_rem_pio2()
156 w = fn*pio2_3; in __ieee754_rem_pio2()
157 r = t-w; in __ieee754_rem_pio2()
158 w = fn*pio2_3t-((t-r)-w); in __ieee754_rem_pio2()
159 y[0] = r-w; in __ieee754_rem_pio2()
[all …]
A De_log.c91 double hfsq,f,s,z,R,w,t1,t2,dk; in __ieee754_log() local
129 w = z*z; in __ieee754_log()
131 t1= w*(Lg2+w*(Lg4+w*Lg6)); in __ieee754_log()
132 t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); in __ieee754_log()
A Dk_cosf.c39 double r, w, z; in __kernel_cosdf() local
43 w = z*z; in __kernel_cosdf()
45 return ((one+z*C0) + w*C1) + (w*z)*r; in __kernel_cosdf()
A Dk_tanf.c41 double z,r,w,s,t,u; in __kernel_tandf() local
60 w = z*z; in __kernel_tandf()
63 r = (x+s*u)+(s*w)*(t+w*r); in __kernel_tandf()
A Dk_sinf.c38 double r, s, w, z; in __kernel_sindf() local
42 w = z*z; in __kernel_sindf()
45 return (x + s*(S1+z*S2)) + s*w*r; in __kernel_sindf()
A De_acos.c64 double z,p,q,r,w,s,c,df; in __ieee754_acos() local
90 w = r*s-pio2_lo; in __ieee754_acos()
91 return pi - 2.0*(s+w); in __ieee754_acos()
101 w = r*s+c; in __ieee754_acos()
102 return 2.0*(df+w); in __ieee754_acos()
A De_acosf.c42 float z,p,q,r,w,s,c,df; in __ieee754_acosf() local
65 w = r*s-pio2_lo; in __ieee754_acosf()
66 return pi - (float)2.0*(s+w); in __ieee754_acosf()
78 w = r*s+c; in __ieee754_acosf()
79 return (float)2.0*(df+w); in __ieee754_acosf()
A Dk_sin.c62 double z,r,v,w; in __kernel_sin() local
65 w = z*z; in __kernel_sin()
66 r = S2+z*(S3+z*S4) + z*w*(S5+z*S6); in __kernel_sin()
A De_rem_pio2f.c49 double w,r,fn; in __ieee754_rem_pio2f() local
67 w = fn*pio2_1t; in __ieee754_rem_pio2f()
68 *y = r-w; in __ieee754_rem_pio2f()
/lk-master/target/dartuinoP0/
A Dusb.c21 #define W(w) (w & 0xff), (w >> 8) argument
22 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/target/stm32f746g-disco/
A Dusb.c22 #define W(w) (w & 0xff), (w >> 8) argument
23 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/target/stellaris-launchpad/
A Dusb.c17 #define W(w) (w & 0xff), (w >> 8) argument
18 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/app/usbtest/
A Ddescriptor.c10 #define W(w) (w & 0xff), (w >> 8) argument
11 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/dev/usb/class/bulktest/
A Dbulktest.c27 #define W(w) (w & 0xff), (w >> 8) argument
28 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/external/lib/lwip/include/ipv4/lwip/
A Dinet_chksum.h44 #define SWAP_BYTES_IN_WORD(w) LWIP_PLATFORM_HTONS(w) argument
47 #define SWAP_BYTES_IN_WORD(w) (((w) & 0xff) << 8) | (((w) & 0xff00) >> 8) argument
/lk-master/target/nucleo-f072rb/
A Dusb.c23 #define W(w) (w & 0xff), (w >> 8) argument
24 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/dev/usb/class/cdcserial/
A Dcdcserial.c23 #define W(w) (w & 0xff), (w >> 8) argument
24 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/platform/pc/
A Dconsole.c140 unsigned short w = attr; in _clear() local
142 w <<= 8; in _clear()
143 w |= c; in _clear()
146 *((unsigned short *)(uintptr_t)(FB + 2*i+160*j + 2 * active_page * VPAGE_SIZE)) = w; in _clear()
162 unsigned short xattr = attr << 8,w; in _scroll() local
167 w = *((unsigned short *) (v + 2*(y*80+x))); in _scroll()
168 *((unsigned short *)(v + 2*((y-1)*80+x))) = w; in _scroll()
/lk-master/app/moot/
A Dusbboot.c33 #define W(w) (w & 0xff), (w >> 8) argument
34 #define W3(w) (w & 0xff), ((w >> 8) & 0xff), ((w >> 16) & 0xff) argument
/lk-master/arch/riscv/
A Dstart.S31 amoadd.w a2, t1, (t0)
93 fence w, w
205 fence w,w

Completed in 25 milliseconds

123