/picolibc-latest/newlib/libm/ld/ld128/ |
D | e_atanhl.c | 44 u.value = x; in atanhl() 50 if (u.value == one) in atanhl() 58 t = u.value+u.value; in atanhl() 59 t = 0.5L*log1pl(t+t*u.value/(one-u.value)); in atanhl() 61 t = 0.5L*log1pl((u.value+u.value)/(one-u.value)); in atanhl()
|
D | e_coshl.c | 59 u.value = x; in coshl() 74 t = expm1l (u.value); in coshl() 83 t = expl (u.value); in coshl() 89 return half * expl (u.value); in coshl() 92 if (u.value <= ovf_thresh) in coshl() 94 w = expl (half * u.value); in coshl()
|
D | e_powl.c | 153 p.value = x; in powl() 157 q.value = y; in powl() 298 o.value = ax; in powl() 316 o.value = ax; in powl() 318 ax = o.value; in powl() 326 o.value = s_h; in powl() 329 s_h = o.value; in powl() 332 o.value = t_h; in powl() 335 t_h = o.value; in powl() 346 o.value = t_h; in powl() [all …]
|
D | e_sinhl.c | 61 u.value = x; in sinhl() 82 t = expm1l (u.value); in sinhl() 90 return h * expl (u.value); in sinhl() 94 if (u.value <= ovf_thresh) in sinhl() 96 w = expl (0.5L * u.value); in sinhl()
|
D | s_tanhl.c | 65 u.value = x; in tanhl() 81 if (u.value == 0) in tanhl() 88 t = expm1l (two * u.value); in tanhl() 93 t = expm1l (-two * u.value); in tanhl()
|
D | s_asinhl.c | 38 u.value = x; in asinhl() 51 w = logl (u.value) + ln2; in asinhl() 55 t = u.value; in asinhl() 61 w = log1pl (u.value + t / (one + sqrtl (one + t))); in asinhl()
|
D | e_logl.c | 195 u.value = x; in logl() 261 t.value = 1.0L; in logl() 270 z = (u.value - t.value) / t.value; in logl() 291 y += (t.value - 1.0L); in logl()
|
/picolibc-latest/newlib/libc/tinystdio/ryu/ |
D | f2s_intrinsics.h | 26 static inline uint32_t pow5factor_32(uint32_t value) { in pow5factor_32() argument 29 assert(value != 0); in pow5factor_32() 30 const uint32_t q = value / 5; in pow5factor_32() 31 const uint32_t r = value % 5; in pow5factor_32() 35 value = q; in pow5factor_32() 42 static inline bool multipleOfPowerOf5_32(const uint32_t value, const uint32_t p) { in multipleOfPowerOf5_32() argument 43 return pow5factor_32(value) >= p; in multipleOfPowerOf5_32() 47 static inline bool multipleOfPowerOf2_32(const uint32_t value, const uint32_t p) { in multipleOfPowerOf2_32() argument 49 return (value & ((1u << p) - 1)) == 0; in multipleOfPowerOf2_32()
|
/picolibc-latest/ |
D | meson_options.txt | 35 option('fast-strcmp', type: 'boolean', value: true, 38 option('have-alias-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', 41 option('have-format-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', 44 option('have-weak-attribute', type: 'combo', choices: ['true', 'false', 'auto'], value: 'auto', 47 option('multilib', type: 'boolean', value: true, 50 option('multilib-list', type: 'array', value: [], 53 option('multilib-exclude', type: 'array', value: [], 59 option('picolib', type: 'boolean', value: true, 62 option('picocrt', type: 'boolean', value: true, 65 option('picocrt-enable-mmu', type: 'boolean', value: true, [all …]
|
/picolibc-latest/newlib/libm/test/ |
D | dcvt.c | 46 nextdigit (double *value) in nextdigit() argument 50 *value = modf (*value * 10, &tmp) ; in nextdigit() 57 double value, in print_nan() argument 62 if (isnan(value)) in print_nan() 87 double value; /* scratch Value to convert */ member 121 while (in->value >= 1.0) in renormalize() 123 in->value = in->value * 0.1; in renormalize() 148 normalize (double value, in normalize() argument 153 if (value != 0) in normalize() 158 if (value < 0.0) in normalize() [all …]
|
D | test.c | 192 a.value = is; in mag_of_error() 194 b.value = shouldbe; in mag_of_error() 254 a.value = is; in fmag_of_error() 256 b.value = shouldbe; in fmag_of_error() 364 test_mok (double value, in test_mok() argument 369 int mag = mag_of_error(value, shouldbe); in test_mok() 373 if (value == 0.0 && shouldbe == 0.0) in test_mok() 377 a.value = shouldbe; in test_mok() 378 b.value = value; in test_mok() 389 printf("(%g %g)\n", a.value, b.value); in test_mok() [all …]
|
D | convert.c | 70 test_mok(v, pd->value, CONVERT_BITS_DOUBLE); in test_strtod() 91 test_mfok((double) v, pd->value, CONVERT_BITS_FLOAT); in test_strtof() 126 test_mok(v, pd->value, STRTOLD_TEST_BITS); in test_strtold() 134 test_mok(atof(pd->string), pd->value, CONVERT_BITS_DOUBLE); in test_atof() 142 test_mfok(v, (float) pd->value, CONVERT_BITS_FLOAT); in test_atoff() 197 test_iok(r, pi->value); in test_strtol_base() 216 test_iok(atoi(p->string), p->decimal.value); in test_atoi() 222 test_iok(atol(p->string), p->decimal.value); in test_atol() 250 r = ecvt_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r() 258 r = ecvtf_r(pdd->value, pdd->e1, &a2, &a3, buffer, sizeof(buffer)); in test_ecvt_r() [all …]
|
/picolibc-latest/newlib/libc/stdlib/ |
D | utoa.c | 33 __utoa (unsigned value, in __utoa() argument 53 remainder = value % base; in __utoa() 55 value = value / base; in __utoa() 56 } while (value != 0); in __utoa() 71 utoa (unsigned value, in utoa() argument 75 return __utoa (value, str, base); in utoa()
|
D | itoa.c | 35 __itoa (int value, in __itoa() argument 51 if ((base == 10) && (value < 0)) in __itoa() 54 uvalue = (unsigned)-value; in __itoa() 57 uvalue = (unsigned)value; in __itoa() 64 itoa (int value, in itoa() argument 68 return __itoa (value, str, base); in itoa()
|
D | setenv.c | 41 const char *value, in setenv() argument 58 l_value = strlen (value); in setenv() 68 strcpy(C, value); in setenv() 113 for (*C++ = '='; (*C++ = *value++) != 0;); in setenv()
|
/picolibc-latest/test/ |
D | rounding-mode.c | 43 do_round_int(double value, int mode) in do_round_int() argument 48 return round(value); in do_round_int() 52 return ceil(value); in do_round_int() 56 return floor(value); in do_round_int() 60 return trunc(value); in do_round_int() 63 return value; in do_round_int() 70 do_roundf_int(float value, int mode) in do_roundf_int() argument 75 return roundf(value); in do_roundf_int() 79 return ceilf(value); in do_roundf_int() 83 return floorf(value); in do_roundf_int() [all …]
|
D | fenv.c | 184 int value; member 186 { .name = "None", .value = 0 }, 188 { .name = "Divide by zero", .value = FE_DIVBYZERO }, 191 { .name = "Overflow", .value = FE_OVERFLOW }, 194 { .name = "Underflow", .value = FE_UNDERFLOW }, 197 { .name = "Invalid", .value = FE_INVALID }, 239 ret = feenableexcept(excepts[i].value); in main() 241 ret = fedisableexcept(excepts[i].value); in main() 242 if (ret != excepts[i].value) { in main() 247 if (excepts[i].value == 0) { in main()
|
/picolibc-latest/newlib/libm/ld/ |
D | math_private_openbsd.h | 26 long double value; member 45 long double value; member 65 qw_u.value = (d); \ 77 (d) = qw_u.value; \ 85 sh_u.value = (d); \ 94 sh_u.value = (d); \ 96 (d) = sh_u.value; \ 104 sh_u.value = (d); \ 206 long double value; member 224 long double value; member [all …]
|
/picolibc-latest/newlib/libm/machine/spu/headers/ |
D | floorf4.h | 61 static __inline vector float _floorf4(vector float value) in _floorf4() argument 81 pos = spu_cmpgt((vec_int4)value, -1); in _floorf4() 82 exp = spu_and(spu_rlmask((vec_int4)value, -23), 0xFF); in _floorf4() 91 addend = spu_andc(spu_andc(spu_add(mask, 1), pos), spu_cmpeq(spu_and((vec_uint4)value, mask), 0)); in _floorf4() 96 out = (vec_float4)spu_add(spu_sel((vec_uint4)value, insert, mask), addend); in _floorf4() 100 out = spu_sel(out, value, spu_splats((unsigned int)0x80000000)); in _floorf4()
|
D | floorf.h | 58 static __inline float _floorf(float value) in _floorf() argument 69 bias.f = value; in _floorf() 75 value -= bias.f; in _floorf() 80 return ((float)((int)value)); in _floorf() 89 in = spu_promote(value, 0); in _floorf()
|
D | ceilf.h | 58 static __inline float _ceilf(float value) in _ceilf() argument 69 bias.f = value; in _ceilf() 75 value += bias.f; in _ceilf() 80 return ((float)((int)value)); in _ceilf() 90 in = spu_promote(value, 0); in _ceilf()
|
D | recipd2.h | 75 vec_float4 value; in _recipd2() local 100 value = spu_roundtf(value_d); in _recipd2() 105 x0 = spu_re(value); in _recipd2() 106 x1 = spu_extend(spu_madd(spu_nmsub(value, x0, one), x0, x0)); in _recipd2() 148 value = spu_roundtf(value_d); in _recipd2() 154 x0 = spu_re(value); in _recipd2() 155 x1 = spu_extend(spu_madd(spu_nmsub(value, x0, one), x0, x0)); in _recipd2()
|
/picolibc-latest/semihost/ |
D | exit.c | 46 uintptr_t value; in _exit() local 48 value = ADP_Stopped_ApplicationExit; in _exit() 50 value = ADP_Stopped_RunTimeErrorUnknown; in _exit() 51 sys_semihost_exit(value, code); in _exit()
|
/picolibc-latest/newlib/libc/argz/ |
D | envz_add.c | 18 const char *value) in envz_add() argument 27 if (value) in envz_add() 30 val_len = strlen(value); in envz_add() 36 memcpy(concat + name_len + 1, value, val_len + 1); in envz_add()
|
/picolibc-latest/newlib/libc/machine/riscv/ |
D | ieeefp.c | 18 fssr(unsigned value) in fssr() argument 20 __asm__ volatile ("fscsr %0" :: "r"(value)); in fssr() 26 unsigned value; in frsr() local 27 __asm__ volatile ("frcsr %0" : "=r" (value)); in frsr() 28 return value; in frsr()
|