/picolibc-latest/newlib/libc/stdlib/ |
D | dtoa.c | 224 union double_union d, d2, eps; in __dtoa() local 234 d.d = _d; in __dtoa() 236 if (word0 (d) & Sign_bit) in __dtoa() 240 word0 (d) &= ~Sign_bit; /* clear sign bit */ in __dtoa() 247 if ((word0 (d) & Exp_mask) == Exp_mask) in __dtoa() 249 if (word0 (d) == 0x8000) in __dtoa() 256 !word1 (d) && !(word0 (d) & 0xfffff) ? "Infinity" : in __dtoa() 269 d.d += 0; /* normalize */ in __dtoa() 271 if (!d.d) in __dtoa() 280 b = d2b (d.d, &be, &bbits); in __dtoa() [all …]
|
D | efgcvt.c | 111 fcvt (double d, in fcvt() argument 116 return fcvtbuf (d, ndigit, decpt, sign, NULL); in fcvt() 120 fcvtf (float d, in fcvtf() argument 125 return fcvt ((double) d, ndigit, decpt, sign); in fcvtf() 130 gcvt (double d, in gcvt() argument 135 if (d < 0) { in gcvt() 140 return (_gcvt (d, ndigit, buf, 'g', 0) ? tbuf : 0); in gcvt() 145 gcvtf (float d, in gcvtf() argument 149 double asd = (double) d; in gcvtf() 155 ecvt (double d, in ecvt() argument [all …]
|
/picolibc-latest/newlib/libc/machine/m88k/ |
D | setjmp.S | 33 st.d r14,r2,4 34 st.d r16,r2,12 35 st.d r18,r2,20 36 st.d r20,r2,28 37 st.d r22,r2,36 38 st.d r24,r2,44 42 st.d x22,r2,52 43 st.d x24,r2,60 44 st.d x26,r2,68 45 st.d x28,r2,76 [all …]
|
/picolibc-latest/newlib/libc/iconv/ces/ |
D | euc.c | 189 euc_data_t *d = (euc_data_t *)data; in euc_convert_from_ucs() local 199 for (i = 0; d->desc[i].csname != NULL; i++) in euc_convert_from_ucs() 202 if (((int)*outbytesleft - d->desc[i].prefixbytes - d->desc[i].bytes) < 0) in euc_convert_from_ucs() 210 d->data[i], in euc_convert_from_ucs() 220 outbuf1 = *outbuf + d->desc[i].prefixbytes; in euc_convert_from_ucs() 221 outbytesleft1 = *outbytesleft - d->desc[i].prefixbytes; in euc_convert_from_ucs() 224 d->data[i], in euc_convert_from_ucs() 228 if (res == d->desc[i].bytes) in euc_convert_from_ucs() 230 for (j = 0; j < d->desc[i].prefixbytes; j++) in euc_convert_from_ucs() 231 (*outbuf)[j] = d->desc[i].prefix[j]; in euc_convert_from_ucs() [all …]
|
/picolibc-latest/newlib/libc/machine/necv70/ |
D | setjmp.S | 22 mov.d r15,[r0+] 23 mov.d r17,[r0+] 24 mov.d r19,[r0+] 25 mov.d r21,[r0+] 26 mov.d r23,[r0+] 38 mov.d [r1+],r15 39 mov.d [r1+],r17 40 mov.d [r1+],r19 41 mov.d [r1+],r21 42 mov.d [r1+],r23 [all …]
|
D | fastmath.S | 22 mov.d [ap],r0 36 mov.d [ap],r0 50 mov.d [ap],r0 65 mov.d [ap],r0 79 mov.d [ap],r0 93 mov.d [ap],r0 107 mov.d [ap],r0 121 mov.d [ap],r0 135 mov.d [ap],r0 149 mov.d [ap],r0 [all …]
|
/picolibc-latest/newlib/libc/machine/tic80/ |
D | setjmp.S | 42 st.d 0(r2),r20 43 st.d 8(r2),r22 44 st.d 16(r2),r24 45 st.d 24(r2),r26 46 st.d 32(r2),r28 47 st.d 40(r2),r30 55 ld.d 0(r2),r20 56 ld.d 8(r2),r22 57 ld.d 16(r2),r24 58 ld.d 24(r2),r26 [all …]
|
/picolibc-latest/newlib/libm/complex/ |
D | ctanf.c | 42 float d; in ctanf() local 44 d = cosf(2.0f * crealf(z)) + coshf(2.0f * cimagf(z)); in ctanf() 46 if (fabsf(d) < 0.25f) in ctanf() 47 d = _ctansf(z); in ctanf() 49 if (d == 0.0f) { in ctanf() 54 return (float complex) (sinf(2.0f * crealf(z)) / d) + (sinhf(2.0f * cimagf(z)) / d) * I; in ctanf()
|
D | ctan.c | 75 double d; in ctan() local 77 d = cos(2.0 * creal(z)) + cosh(2.0 * cimag(z)); in ctan() 79 if (fabs(d) < 0.25) in ctan() 80 d = _ctans(z); in ctan() 82 if (d == 0.0) { in ctan() 87 …return (double complex) (sin(2.0 * creal(z)) / d) + (sinh(2.0 * cimag(z)) / d) * (double complex) … in ctan()
|
D | ctanl.c | 42 long double d; in ctanl() local 44 d = cosl(2.0L * creall(z)) + coshl(2.0L * cimagl(z)); in ctanl() 46 if (fabsl(d) < 0.25L) in ctanl() 47 d = _ctansl(z); in ctanl() 49 if (d == 0.0L) { in ctanl() 54 …return (long double complex) (sinl(2.0L * creall(z)) / d) + (sinhl(2.0L * cimagl(z)) / d) * (long … in ctanl()
|
D | ctanhf.c | 41 float x, y, d; in ctanhf() local 45 d = coshf(2.0f * x) + cosf(2.0f * y); in ctanhf() 46 return (float complex) (sinhf(2.0f * x) / d) + (sinf(2.0f * y) / d) * I; in ctanhf()
|
D | ctanh.c | 74 double x, y, d; in ctanh() local 78 d = cosh(2.0 * x) + cos(2.0 * y); in ctanh() 79 return (double complex) (sinh(2.0 * x) / d) + (sin(2.0 * y) / d) * (double complex) I; in ctanh()
|
/picolibc-latest/newlib/libm/ld/ |
D | math_private_openbsd.h | 62 #define GET_LDOUBLE_WORDS64(ix0,ix1,d) \ argument 65 qw_u.value = (d); \ 72 #define SET_LDOUBLE_WORDS64(d,ix0,ix1) \ argument 77 (d) = qw_u.value; \ 82 #define GET_LDOUBLE_MSW64(v,d) \ argument 85 sh_u.value = (d); \ 91 #define SET_LDOUBLE_MSW64(d,v) \ argument 94 sh_u.value = (d); \ 96 (d) = sh_u.value; \ 101 #define GET_LDOUBLE_LSW64(v,d) \ argument [all …]
|
/picolibc-latest/newlib/libc/ssp/ |
D | strncat_chk.c | 45 char *d; in __strncat_chk() local 53 for (d = dst; *d; d++) { in __strncat_chk() 59 if ((*d = *src++) == '\0') in __strncat_chk() 63 d++; in __strncat_chk() 69 *d = '\0'; in __strncat_chk()
|
D | strcat_chk.c | 42 char *d; in __strcat_chk() local 44 for (d = dst; *d; d++) { in __strcat_chk() 52 *d++ = *src++; in __strcat_chk() 58 *d = '\0'; in __strcat_chk()
|
/picolibc-latest/test/libc-testsuite/ |
D | sscanf.c | 44 TEST(i, sscanf(# x, "%lf", &d), 1, "got %d fields, expected %d"), \ 45 TEST(t, d, (double)x, "%a != %a") ) 48 TEST(i, sscanf(v, "%lf", &d), 1, "got %d fields, expected %d"), \ 49 TEST(t, d, (double)x, "%a != %a") ) 80 double d, t; in test_sscanf() local 219 TEST(i, sscanf(" Nan(98b)", "%lf%c", &d, a), 1, "got %d fields, expected %d"); in test_sscanf() 220 TEST(i, isnan(d), 1, "isnan %d expected %d"); in test_sscanf() 226 d = 1.0; in test_sscanf() 227 TEST(i, sscanf("NaN(abcdefg", "%lf%c", &d, a), -1, "got %d fields, expected %d"); in test_sscanf() 228 TEST(i, d, 1.0, "%d expected %lf"); in test_sscanf() [all …]
|
D | strtod.c | 50 double d, d2; in test_strtod() local 57 d = sin(i); in test_strtod() 58 snprintf(buf, sizeof buf, "%.300f", d); in test_strtod() 59 TEST(d2, strtod(buf, 0), d, "round trip fail %a != %a (%a)"); in test_strtod() 65 TEST(d, strtod("0x1p4", 0), 16.0, "hex float %a != %a"); in test_strtod() 66 TEST(d, strtod("0x1.1p4", 0), 17.0, "hex float %a != %a"); in test_strtod()
|
/picolibc-latest/newlib/libm/common/ |
D | fdlibm.h | 239 #define EXTRACT_WORDS(ix0,ix1,d) \ argument 242 ew_u.bits = asuint64(d); \ 249 #define GET_HIGH_WORD(i,d) \ argument 252 gh_u.bits = asuint64(d); \ 258 #define GET_LOW_WORD(i,d) \ argument 261 gl_u.bits = asuint64(d); \ 267 #define INSERT_WORDS(d,ix0,ix1) \ argument 272 (d) = asfloat64(iw_u.bits); \ 277 #define SET_HIGH_WORD(d,v) \ argument 280 sh_u.bits = asuint64(d); \ [all …]
|
/picolibc-latest/newlib/libc/machine/sh/ |
D | setjmp.S | 73 fst.d r2, 34*8, dr12 74 fst.d r2, 35*8, dr14 75 fst.d r2, 36*8, dr36 76 fst.d r2, 37*8, dr38 77 fst.d r2, 38*8, dr40 78 fst.d r2, 39*8, dr42 79 fst.d r2, 40*8, dr44 80 fst.d r2, 41*8, dr46 81 fst.d r2, 42*8, dr48 82 fst.d r2, 43*8, dr50 [all …]
|
/picolibc-latest/newlib/libm/machine/powerpc/ |
D | complex128.c | 44 __mulkc3_hw (TFtype a, TFtype b, TFtype c, TFtype d); 47 __mulkc3 (TFtype a, TFtype b, TFtype c, TFtype d); 50 __mulkc3 (TFtype a, TFtype b, TFtype c, TFtype d) in __mulkc3() argument 52 return __mulkc3_hw(a, b, c, d); in __mulkc3() 56 __divkc3_hw (TFtype a, TFtype b, TFtype c, TFtype d); 59 __divkc3 (TFtype a, TFtype b, TFtype c, TFtype d); 62 __divkc3 (TFtype a, TFtype b, TFtype c, TFtype d) in __divkc3() argument 64 return __divkc3_hw(a, b, c, d); in __divkc3()
|
/picolibc-latest/newlib/libc/machine/sparc/machine/ |
D | fenv-fp.h | 116 volatile double d; in feraiseexcept() local 128 d = 0.0; in feraiseexcept() 129 d = 0.0 / d; in feraiseexcept() 132 d = 0.0; in feraiseexcept() 133 d = 1.0 / d; in feraiseexcept() 136 d = 0x1.ffp1023; in feraiseexcept() 137 d *= 2.0; in feraiseexcept() 140 d = 0x1p-1022; in feraiseexcept() 141 d /= 0x1p1023; in feraiseexcept() 144 d = 0x1p-1022; in feraiseexcept() [all …]
|
/picolibc-latest/newlib/libc/tinystdio/ryu/ |
D | ryu.h | 32 int d2fixed_buffered_n(double d, uint32_t precision, char* result); 33 void d2fixed_buffered(double d, uint32_t precision, char* result); 34 char* d2fixed(double d, uint32_t precision); 36 int d2exp_buffered_n(double d, uint32_t precision, char* result); 37 void d2exp_buffered(double d, uint32_t precision, char* result); 38 char* d2exp(double d, uint32_t precision);
|
/picolibc-latest/newlib/libc/machine/visium/ |
D | memmove.c | 37 char *d = dst; in memmove() local 42 if (s < d && d < s + len) in memmove() 45 d += len; in memmove() 48 *--d = *--s; in memmove()
|
/picolibc-latest/newlib/libc/include/ |
D | inttypes.h | 67 #define PRId8 __PRI8(d) 77 #define SCNd8 __SCN8(d) 86 #define PRIdLEAST8 __PRI8LEAST(d) 96 #define SCNdLEAST8 __SCN8LEAST(d) 104 #define PRIdFAST8 __PRI8FAST(d) 114 #define SCNdFAST8 __SCN8FAST(d) 131 #define PRId16 __PRI16(d) 138 #define SCNd16 __SCN16(d) 145 #define PRIdLEAST16 __PRI16LEAST(d) 152 #define SCNdLEAST16 __SCN16LEAST(d) [all …]
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | dtox_engine.c | 110 int exp, d; in __dtox_engine() local 152 for (d = DTOX_NDIGS - 1; d >= 0; d--) { in __dtox_engine() 155 if (dig == 0 && d > prec) in __dtox_engine() 160 dtoa->digits[d] = dig; in __dtox_engine() 161 if (prec < d) in __dtox_engine() 162 prec = d; in __dtox_engine()
|