/lk-master/external/lib/libm/ |
A D | k_tan.c | 81 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 D | e_asinf.c | 44 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 D | s_atan.c | 76 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 D | e_asin.c | 73 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 D | k_cos.c | 71 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 D | e_rem_pio2.c | 57 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 D | e_log.c | 91 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 D | k_cosf.c | 39 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 D | k_tanf.c | 41 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 D | k_sinf.c | 38 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 D | e_acos.c | 64 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 D | e_acosf.c | 42 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 D | k_sin.c | 62 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 D | e_rem_pio2f.c | 49 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 D | usb.c | 21 #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 D | usb.c | 22 #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 D | usb.c | 17 #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 D | descriptor.c | 10 #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 D | bulktest.c | 27 #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 D | inet_chksum.h | 44 #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 D | usb.c | 23 #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 D | cdcserial.c | 23 #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 D | console.c | 140 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 D | usbboot.c | 33 #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 D | start.S | 31 amoadd.w a2, t1, (t0) 93 fence w, w 205 fence w,w
|