Home
last modified time | relevance | path

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

1234567

/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld128/
Dk_tanl.c64 long double z, r, v, w, s; in __kernel_tanl() local
76 w = pio4lo - y; in __kernel_tanl()
77 x = z + w; in __kernel_tanl()
83 w = z * z; in __kernel_tanl()
84 r = T5 + w * (T9 + w * (T13 + w * (T17 + w * (T21 + in __kernel_tanl()
85 w * (T25 + w * (T29 + w * (T33 + in __kernel_tanl()
86w * (T37 + w * ((long double)T41 + w * ((long double)T45 + w * ((long double)T49 + w * ((long doub… in __kernel_tanl()
87 w * (long double)T57)))))))))))); in __kernel_tanl()
88 v = z * (T7 + w * (T11 + w * (T15 + w * (T19 + w * (T23 + in __kernel_tanl()
89 w * (T27 + w * (T31 + w * (T35 + in __kernel_tanl()
[all …]
De_rem_pio2l.h64 long double z,w,t,r,fn; in __ieee754_rem_pio2l() local
84 w = fn*pio2_1t; /* 1st round good to 180 bit */ in __ieee754_rem_pio2l()
89 y[0] = r-w; in __ieee754_rem_pio2l()
95 w = fn*pio2_2; in __ieee754_rem_pio2l()
96 r = t-w; in __ieee754_rem_pio2l()
97 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2l()
98 y[0] = r-w; in __ieee754_rem_pio2l()
104 w = fn*pio2_3; in __ieee754_rem_pio2l()
105 r = t-w; in __ieee754_rem_pio2l()
106 w = fn*pio2_3t-((t-r)-w); in __ieee754_rem_pio2l()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/v850/
Dsetjmp.S23 st.w r1,0[r6]
24 st.w r3,4[r6]
25 st.w r4,8[r6]
26 st.w r20,12[r6]
27 st.w r21,16[r6]
28 st.w r22,20[r6]
29 st.w r23,24[r6]
30 st.w r24,28[r6]
31 st.w r25,32[r6]
32 st.w r26,36[r6]
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/h8500/
Dcmpsi.c24 } w; member
34 } w; member
45 if (u.w.msw != msw_b) in __cmpsi2()
47 if (u.w.msw < msw_b) return 0; in __cmpsi2()
50 if (u.w.lsw != lsw_b) in __cmpsi2()
52 if (u.w.lsw < lsw_b) return 0; in __cmpsi2()
66 if (u.w.msw != msw_b) in __ucmpsi2()
68 if (u.w.msw < msw_b) return 0; in __ucmpsi2()
71 if (u.w.lsw != lsw_b) in __ucmpsi2()
73 if (u.w.lsw < lsw_b) return 0; in __ucmpsi2()
[all …]
Dsetjmp.S23 mov.w r7,@r0+
24 mov.w r6,@r0+
25 mov.w r5,@r0+
26 mov.w @sp,r1
27 mov.w r1,@r0
28 clr.w r0
33 mov.w @r0+,r7
34 mov.w @r0+,r6
35 mov.w @r0+,r5
36 mov.w @r0,r2
[all …]
Ddivhi3.S36 clr.w r0
37 tst.w r1 ! neg arg1
41 neg.w r1
42 NU: tst.w r4
45 NP: divxu.w r4,r0
46 neg.w r0
47 neg.w r1
50 NN: neg.w r4
51 divxu.w r4,r0
52 neg.w r0 ! get rem sign right
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dsf_fpclassify.c14 __uint32_t w; in __fpclassifyf() local
16 GET_FLOAT_WORD(w,x); in __fpclassifyf()
18 if (w == 0x00000000 || w == 0x80000000) in __fpclassifyf()
20 else if ((w >= 0x00800000 && w <= 0x7f7fffff) || in __fpclassifyf()
21 (w >= 0x80800000 && w <= 0xff7fffff)) in __fpclassifyf()
23 else if ((w >= 0x00000001 && w <= 0x007fffff) || in __fpclassifyf()
24 (w >= 0x80000001 && w <= 0x807fffff)) in __fpclassifyf()
26 else if (w == 0x7f800000 || w == 0xff800000) in __fpclassifyf()
Dsf_round.c17 __uint32_t w; in roundf() local
21 GET_FLOAT_WORD(w, x); in roundf()
24 exponent_less_127 = (int)((w & 0x7f800000) >> 23) - 127; in roundf()
30 w &= 0x80000000; in roundf()
33 w |= ((__uint32_t)127 << 23); in roundf()
38 if ((w & exponent_mask) == 0) in roundf()
42 w += 0x00400000 >> exponent_less_127; in roundf()
43 w &= ~exponent_mask; in roundf()
54 SET_FLOAT_WORD(x, w); in roundf()
Dsf_llround.c20 __uint32_t w; in llroundf() local
24 GET_FLOAT_WORD (w, x); in llroundf()
25 exponent_less_127 = ((w & 0x7f800000) >> 23) - 127; in llroundf()
26 sign = (w & 0x80000000) != 0 ? -1 : 1; in llroundf()
27 w &= 0x7fffff; in llroundf()
28 w |= 0x800000; in llroundf()
35 result = (long long int) w << (exponent_less_127 - 23); in llroundf()
38 w += 0x400000 >> exponent_less_127; in llroundf()
39 result = w >> (23 - exponent_less_127); in llroundf()
Dsf_lround.c18 __uint32_t w; in lroundf() local
22 GET_FLOAT_WORD (w, x); in lroundf()
23 exponent_less_127 = ((w & 0x7f800000) >> 23) - 127; in lroundf()
24 sign = (w & 0x80000000) != 0 ? -1 : 1; in lroundf()
25 w &= 0x7fffff; in lroundf()
26 w |= 0x800000; in lroundf()
33 result = (long int) w << (exponent_less_127 - 23); in lroundf()
36 w += 0x400000 >> exponent_less_127; in lroundf()
37 result = w >> (23 - exponent_less_127); in lroundf()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dfvwrite.c59 register ssize_t w, s; in _sfvwrite() local
124 w = fp->_write (fp->_cookie, p, in _sfvwrite()
126 if (w <= 0) in _sfvwrite()
128 p += w; in _sfvwrite()
129 len -= w; in _sfvwrite()
131 while ((uio->uio_resid -= w) != 0); in _sfvwrite()
151 w = fp->_w; in _sfvwrite()
154 if (len >= (size_t) w && fp->_flags & (__SMBF | __SOPT)) in _sfvwrite()
198 w = len; in _sfvwrite()
201 if (len < (size_t) w) in _sfvwrite()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ld80/
Dk_tanl.c72 long double z, r, v, w, s; in __kernel_tanl() local
84 w = pio4lo - y; in __kernel_tanl()
85 x = z + w; in __kernel_tanl()
91 w = z * z; in __kernel_tanl()
92 …r = T5 + w * ((long double)T9 + w * ((long double)T13 + w * ((long double)T17 + w * ((long double)… in __kernel_tanl()
93 w * ((long double)T25 + w * ((long double)T29 + w * (long double)T33)))))); in __kernel_tanl()
94 …v = z * ((long double)T7 + w * ((long double)T11 + w * ((long double)T15 + w * ((long double)T19 +… in __kernel_tanl()
95 w * ((long double)T27 + w * (long double)T31)))))); in __kernel_tanl()
99 w = x + r; in __kernel_tanl()
103 (v - 2.0L * (x - (w * w / (w + v) - r))); in __kernel_tanl()
[all …]
De_powl.c188 long double w, ya, yb, z; in powl() local
210 w = floorl(y); in powl()
212 iyflg = (w == y); in powl()
329 w = floorl(x); in powl()
330 if( (w == x) && (fabsl(y) < 32768.0L) ) in powl()
332 w = powil( x, (int) y ); in powl()
333 return( w ); in powl()
377 w = x * ( z * __polevll( x, P, 3 ) / __p1evll( x, Q, 3 ) ); in powl()
378 w = w - ldexpl( z, -1 ); /* w - 0.5 * z */ in powl()
383 z = LOG2EA * w; in powl()
[all …]
De_rem_pio2l.h76 long double z,w,t,r,fn; in __ieee754_rem_pio2l() local
95 w = fn*pio2_1t; /* 1st round good to 102 bit */ in __ieee754_rem_pio2l()
100 y[0] = r-w; in __ieee754_rem_pio2l()
106 w = fn*(long double)pio2_2; in __ieee754_rem_pio2l()
107 r = t-w; in __ieee754_rem_pio2l()
108 w = fn*pio2_2t-((t-r)-w); in __ieee754_rem_pio2l()
109 y[0] = r-w; in __ieee754_rem_pio2l()
115 w = fn*(long double)pio2_3; in __ieee754_rem_pio2l()
116 r = t-w; in __ieee754_rem_pio2l()
117 w = fn*pio2_3t-((t-r)-w); in __ieee754_rem_pio2l()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dkf_tan.c39 float z, r, v, w, s; in __kernel_tanf() local
58 w = pio4lo - y; in __kernel_tanf()
59 x = z + w; in __kernel_tanf()
63 w = z * z; in __kernel_tanf()
68 r = T[1] + w * (T[3] + w * (T[5] + w * (T[7] + w * (T[9] + w * T[11])))); in __kernel_tanf()
70 (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + w * T[12]))))); in __kernel_tanf()
74 w = x + r; in __kernel_tanf()
78 (v - (float)2.0 * (x - (w * w / (w + v) - r))); in __kernel_tanf()
81 return w; in __kernel_tanf()
87 z = w; in __kernel_tanf()
[all …]
Dk_tan.c75 __float64 z, r, v, w, s; in __kernel_tan() local
90 z = w = x + y; in __kernel_tan()
93 t = a = -one / w; in __kernel_tan()
107 w = pio4lo - y; in __kernel_tan()
108 x = z + w; in __kernel_tan()
112 w = z * z; in __kernel_tan()
117 r = T[1] + w * (T[3] + w * (T[5] + w * (T[7] + w * (T[9] + w * T[11])))); in __kernel_tan()
119 (T[2] + w * (T[4] + w * (T[6] + w * (T[8] + w * (T[10] + w * T[12]))))); in __kernel_tan()
123 w = x + r; in __kernel_tan()
127 (v - _F_64(2.0) * (x - (w * w / (w + v) - r))); in __kernel_tan()
[all …]
Dsf_atan.c52 float w, s1, s2, z; in atanf() local
93 w = z * z; in atanf()
97 w * (aT[2] + w * (aT[4] + w * (aT[6] + w * (aT[8] + w * aT[10]))))); in atanf()
98 s2 = w * (aT[1] + w * (aT[3] + w * (aT[5] + w * (aT[7] + w * aT[9])))); in atanf()
Dsf_asin.c37 float t, w, p, q, c, r, s; in asinf() local
55 w = p / q; in asinf()
56 return x + x * w; in asinf()
60 w = one - fabsf(x); in asinf()
61 t = w * (float)0.5; in asinf()
66 w = p / q; in asinf()
67 t = pio2_hi - ((float)2.0 * (s + s * w) - pio2_lo); in asinf()
70 w = s; in asinf()
71 GET_FLOAT_WORD(iw, w); in asinf()
72 SET_FLOAT_WORD(w, iw & 0xfffff000); in asinf()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/
Dwait.h50 #define WIFEXITED(w) (((w) & 0xff) == 0) argument
51 #define WIFSIGNALED(w) (((w) & 0x7f) > 0 && (((w) & 0x7f) < 0x7f)) argument
52 #define WIFSTOPPED(w) (((w) & 0xff) == 0x7f) argument
53 #define WEXITSTATUS(w) (((w) >> 8) & 0xff) argument
54 #define WTERMSIG(w) ((w) & 0x7f) argument
/picolibc-3.7.0-3.6.0/newlib/libc/machine/msp430/
Dsetjmp.S50 mov.w @r1, r13
51 mov.w r13, 0(r12)
52 mov.w r1, 2(r12)
53 mov.w r4, 4(r12)
54 mov.w r5, 6(r12)
55 mov.w r6, 8(r12)
56 mov.w r7, 10(r12)
57 mov.w r8, 12(r12)
58 mov.w r9, 14(r12)
59 mov.w r10, 16(r12)
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/complex/
Dcsqrtf.c41 float complex w; in csqrtf() local
49 w = 0.0f + sqrtf(-x) * I; in csqrtf()
50 return w; in csqrtf()
54 w = sqrtf(x) + y * I; in csqrtf()
55 return w; in csqrtf()
63 w = r + r * I; in csqrtf()
65 w = r - r * I; in csqrtf()
66 return w; in csqrtf()
85 w = x + y * I; in csqrtf()
86 r = cabsf(w); in csqrtf()
[all …]
Dcsqrt.c76 double complex w; in csqrt() local
84 w = 0.0 + y * (double complex) I; in csqrt()
89 w = 0.0 + r * (double complex) I; in csqrt()
91 w = r + y * (double complex) I; in csqrt()
94 return w; in csqrt()
100 w = r + r * (double complex) I; in csqrt()
102 w = r - r * (double complex) I; in csqrt()
103 return w; in csqrt()
121 w = x + y * (double complex) I; in csqrt()
122 r = cabs(w); in csqrt()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/h8300/
Dsetjmp.S41 mov.w r7,@r0
42 mov.w r6,@(2,r0)
43 mov.w r5,@(4,r0)
44 mov.w r4,@(6,r0)
45 mov.w @sp,r1
46 mov.w r1,@(8,r0)
47 sub.w r0,r0
65 mov.w r1,r0
73 mov.w @r0+,r7
74 mov.w @r0+,r6
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/necv70/
Dsetjmp.S19 mov.w [ap],r0
25 mov.w -0x4[ap],[r0+]
26 mov.w fp,[r0+]
27 mov.w ap,[r0+]
28 mov.w -0x8[ap],[r0]
29 xor.w r0,r0
34 mov.w 0x4[ap],r0
35 mov.w [ap],r1
42 mov.w [r1+],sp
43 test.w r0
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/
De_asinl.c33 long double t=0.0L,w,p,q,c,r,s; in asinl() local
50 w = p/q; in asinl()
51 return x+x*w; in asinl()
54 w = one-fabsl(x); in asinl()
55 t = w*0.5L; in asinl()
60 w = p/q; in asinl()
61 t = pio2_hi-(2.0L*(s+s*w)-pio2_lo); in asinl()
65 w = u.e; in asinl()
66 c = (t-w*w)/(s+w); in asinl()
69 q = pio4_hi-2.0L*w; in asinl()

1234567