Home
last modified time | relevance | path

Searched refs:I (Results 1 – 25 of 75) sorted by relevance

123

/picolibc-latest/newlib/libm/test/
Dsprint_ivec.c24 #define I(a,b) (b) macro
26 #define I(a,b) (a) macro
32 {__LINE__, 0x000838d2l, I("838d2", "38d2"), "%.4x", },
33 {__LINE__, 0x0063be46l, I("63BE46", "BE46 "), "%-6X", },
34 {__LINE__, -0x1b236c0l, I("-28456640", "-14016"), "%#0.d", },
38 {__LINE__, 0x0ea3e927l, I("EA3E927", "E927"), "%+X", },
39 {__LINE__, -0x0410726l, I("FFBEF8DA", " F8DA"), "%5X", },
40 {__LINE__, 0x62ff9f56l, I("62ff9f56", "9f56"), "%0x", },
43 {__LINE__, -0x0000001l, I("FFFFFFFF", "FFFF"), "%1.4X", },
46 {__LINE__, -0x0009e89l, I("0xffff6177", "0x6177"), "%+#x", },
[all …]
/picolibc-latest/test/
Dtestcases.c82 #define I(a,b) (b) macro
84 #define I(a,b) (a) macro
215 result |= test(__LINE__, I("1000000","16960"), "%'d", 1000000);
335 result |= test(__LINE__, I("4294967295", "65535"), "%u", -1);
362 result |= test(__LINE__, I("4294966272", "64512"), "%u", 4294966272U);
364 result |= test(__LINE__, I("37777777001", "177001"), "%o", 4294966785U);
365 result |= test(__LINE__, I("1234abcd", "abcd"), "%x", 305441741);
366 result |= test(__LINE__, I("edcb5433", "5433"), "%x", 3989525555U);
367 result |= test(__LINE__, I("1234ABCD", "ABCD"), "%X", 305441741);
368 result |= test(__LINE__, I("EDCB5433", "5433"), "%X", 3989525555U);
[all …]
/picolibc-latest/newlib/libm/complex/
Dcasinf.c55 w = M_PI_2 + 0.0f * I; in __weak_alias()
60 w = asinf(x) + 0.0f * I; in __weak_alias()
107 ca = x + y * I; in __weak_alias()
108 ct = ca * I; in __weak_alias()
112 zz = (x - y) * (x + y) + (2.0f * x * y) * I; in __weak_alias()
114 zz = 1.0f - crealf(zz) - cimagf(zz) * I; in __weak_alias()
120 w = zz * (-1.0f * I); in __weak_alias()
Dcsqrtf.c49 w = 0.0f + sqrtf(-x) * I; in csqrtf()
52 return (0.0f + y * I); in csqrtf()
54 w = sqrtf(x) + y * I; in csqrtf()
63 w = r + r * I; in csqrtf()
65 w = r - r * I; in csqrtf()
85 w = x + y * I; in csqrtf()
98 w = t - r * I; in csqrtf()
100 w = t + r * I; in csqrtf()
Dcasinl.c54 w = M_PI_2L + 0.0L * (double complex) I; in __weak_alias()
59 w = asinl(x) + 0.0L * (double complex) I; in __weak_alias()
106 ca = x + y * (long double complex) I; in __weak_alias()
107 ct = ca * (long double complex) I; in __weak_alias()
111 zz = (x - y) * (x + y) + (2.0L * x * y) * (long double complex) I; in __weak_alias()
113 zz = 1.0L - creall(zz) - cimagl(zz) * (long double complex) I; in __weak_alias()
119 w = zz * (-1.0L * (long double complex) I); in __weak_alias()
Dcasin.c98 w = M_PI_2 + 0.0 * (double complex) I; in __weak_alias()
103 w = asin(x) + 0.0 * (double complex) I; in __weak_alias()
150 ca = x + y * (double complex) I; in __weak_alias()
151 ct = ca * (double complex) I; in __weak_alias()
155 zz = (x - y) * (x + y) + (2.0 * x * y) * (double complex) I; in __weak_alias()
157 zz = 1.0 - creal(zz) - cimag(zz) * (double complex) I; in __weak_alias()
163 w = zz * (-1.0 * (double complex) I); in __weak_alias()
Dcsqrt.c84 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()
100 w = r + r * (double complex) I; in csqrt()
102 w = r - r * (double complex) I; in csqrt()
121 w = x + y * (double complex) I; in csqrt()
133 w = t - r * (double complex) I; in csqrt()
135 w = t + r * (double complex) I; in csqrt()
Dcatanhf.c42 w = -1.0f * I * catanf(z * I); in catanhf()
Dcasinhf.c42 w = -1.0f * I * casinf(z * I); in casinhf()
Dcatanh.c88 w = -1.0 * (double complex) I * catan(z * (double complex) I); in catanh()
Dcasinh.c95 w = -1.0 * (double complex) I * casin(z * (double complex) I); in casinh()
Dcatanhl.c41 w = -1.0L * (long double complex) I * catanl(z * (long double complex) I); in catanhl()
Dcasinhl.c41 w = -1.0L * (long double complex) I * casinl(z * (long double complex) I); in casinhl()
Dctanf.c51 return HUGE_VALF + HUGE_VALF * I; in ctanf()
54 return (float complex) (sinf(2.0f * crealf(z)) / d) + (sinhf(2.0f * cimagf(z)) / d) * I; in ctanf()
Dctan.c84 return HUGE_VAL + HUGE_VAL * (double complex) I; in ctan()
87 …eturn (double complex) (sin(2.0 * creal(z)) / d) + (sinh(2.0 * cimag(z)) / d) * (double complex) I; in ctan()
Dctanl.c51 return HUGE_VALL + HUGE_VALL * (long double complex) I; in ctanl()
54 …le complex) (sinl(2.0L * creall(z)) / d) + (sinhl(2.0L * cimagl(z)) / d) * (long double complex) I; in ctanl()
Dcacos.c91 w = (M_PI_2 - creal(w)) - cimag(w) * (double complex) (double complex) I; in cacos()
97 w = tmp1 - (cimag(tmp0) * (double complex) (double complex) I); in cacos()
Dcpowf.c48 return (0.0f + 0.0f * I); in cpowf()
57 w = r * cosf(theta) + (r * sinf(theta)) * I; in cpowf()
Dcpow.c90 return (0.0 + 0.0 * (double complex) I); in cpow()
99 w = r * cos(theta) + (r * sin(theta)) * (double complex) I; in cpow()
Dcpowl.c47 return (0.0L + 0.0L * (long double complex) I); in cpowl()
56 w = r * cosl(theta) + (r * sinl(theta)) * (long double complex) I; in cpowl()
Dcatanf.c68 w = w + (0.25f * logf(a)) * I; in __weak_alias()
75 w = HUGE_VALF + HUGE_VALF * I; in __weak_alias()
Dcatan.c119 w = w + (0.25 * log(a)) * (double complex) I; in __weak_alias()
126 w = HUGE_VAL + HUGE_VAL * (double complex) I; in __weak_alias()
Dcatanl.c69 w = w + (0.25L * logl(a)) * (long double complex) I; in __weak_alias()
76 w = HUGE_VALL + HUGE_VALL * (long double complex) I; in __weak_alias()
/picolibc-latest/
Dfind-copyright50 regex = re.compile(pat, re.I)
63 cpr_line = re.compile(r'copyright.*(20[0-2][0-9]|19[7-9][0-9])', re.I)
67 derived = re.compile(r'code is derived from software', re.I)
155 tog = re.compile(r'.*Open Group Base Specification', re.I | re.S)
156 m = re.compile(r'.*copyright.*', re.I | re.S)
191 …nditer(r'copyright (\(c\))? *(19[7-9][0-9]|20[0-2][0-9])[^A-Z]*[A-Z][^\n]*', copyright, re.I|re.S):
199 for all in re.finditer(r'all rights reserved\.?', copyright, re.I | re.S):
204 all = re.search(r'all rights reserved\.?', copyright, re.I | re.S)
205 licensed = re.search(r'This ', copyright, re.I | re.S)
206 portions = re.search(r'Portions', copyright, re.I | re.S)
[all …]
/picolibc-latest/newlib/libc/include/
Dcomplex.h15 #define I _Complex_I macro
118 #define CMPLX(r,i) ((double complex) ((double) (r) + (double complex) I * (double) (i)))
119 #define CMPLXF(r,i) ((float complex) ((float) (r) + (float complex) I * (float) (i)))
120 #define CMPLXL(r,i) ((long double complex) ((long double) (r) + (long double complex) I * (long dou…

123