/picolibc-3.7.0-3.6.0/newlib/libm/fenv/ |
D | fesetmode.c | 43 int round = FE_TONEAREST, except = 0; in fesetmode() local 45 round = modep->round; in fesetmode() 51 (void) fesetround(round); in fesetmode()
|
D | fegetmode.c | 43 modep->round = fegetround(); in fegetmode()
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/arm/ |
D | s_round.c | 31 round (double x) in round() function 38 _MATH_ALIAS_d_d(round)
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/riscv/machine/ |
D | fenv-fp.h | 357 __declare_fenv_inline(int) fesetround(int round) in fesetround() argument 362 round &= FE_RMODE_MASK; in fesetround() 366 __asm__ volatile("fsrm %0" : : "r"(round)); in fesetround()
|
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ |
D | ldtoa_engine.c | 125 long double round = 0.5l; in __ldtoa_engine() local 127 round *= 0.1l; in __ldtoa_engine() 129 x += round; in __ldtoa_engine()
|
D | dtoa_engine.c | 198 uint64_t round = BIT64(59); /* 0.5 */ in __dtoa_engine() local 200 round /= 10U; in __dtoa_engine() 202 fract += round; in __dtoa_engine()
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/x86/ |
D | fenv.c | 395 fesetround (int round) in fesetround() argument 401 if (round < FE_TONEAREST || round > FE_TOWARDZERO) in fesetround() 411 cw |= (round << FE_CW_ROUND_SHIFT); in fesetround() 413 mxcsr |= (round << FE_MXCSR_ROUND_SHIFT); in fesetround()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sparc/machine/ |
D | fenv-fp.h | 186 fesetround(int round) in fesetround() argument 190 if (round & ~_ROUND_MASK) in fesetround() 195 r |= round << _ROUND_SHIFT; in fesetround()
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/ |
D | s_round.c | 36 double round(double x) in round() function
|
/picolibc-3.7.0-3.6.0/newlib/libm/machine/aarch64/ |
D | s_round.c | 30 round (double x) in round() function
|
/picolibc-3.7.0-3.6.0/test/ |
D | fma_gen.5c | 92 round(float_t f, format_t format, format_or_none_t i_format, rounding_mode_t rm) 96 f = round(f, format, none_format, rm); 143 /* round even when the fraction is exactly 1/2 */ 156 * Large negative values round 173 * Large positive values round 186 * Large magnitude values round to the value 402 …float_t z = round(make_float(zs * val * (2 ** ze)), format, none_format, rounding_mode_t.TONEAREST… 404 float_t y = round(make_float(val * (2 ** ye)), format, none_format, rounding_mode_t.TONEAREST); 407 …float_t x = round(make_float(xs * val * (2 ** xe)), format, none_format, rounding_mode_t.TONEAREST… 410 printf(" %s,", strfromfloat(round(r, format, i_format, rounding_mode_t.TONEAREST), suf)); [all …]
|
D | long_double_gen.5c | 171 real round(x) { if (x < 0) return -round(-x); return floor(x+0.5); } 354 { .f = round, .name = "roundl" },
|
D | rounding-mode.c | 47 return round(value); in do_round_int()
|
D | math-funcs.c | 149 d1 = round (d1); in main()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/xtensa/machine/ |
D | fenv-fp.h | 145 __declare_fenv_inline(int) fesetround(int round) in fesetround() argument 147 __asm__ volatile ("wur.fcr %0" : : "a"(round)); in fesetround()
|
/picolibc-3.7.0-3.6.0/newlib/libm/common/ |
D | sf_round.c | 58 _MATH_ALIAS_f_f(round)
|
D | s_round.c | 111 _MATH_ALIAS_d_d(round)
|
D | math_config.h | 106 return round (x); in roundtoint() 118 return (long) round (x); in converttoint() 1282 #define round64 _NAME_64(round)
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/sh/machine/ |
D | fenv-fp.h | 147 __declare_fenv_inline(int) fesetround(int round) in fesetround() argument 153 fpscr |= round; in fesetround()
|
/picolibc-3.7.0-3.6.0/newlib/libc/machine/arm/machine/ |
D | fenv-fp.h | 146 __declare_fenv_inline(int) fesetround(int round) in fesetround() argument 152 __fpsr |= round; in fesetround()
|
D | math.h | 127 round (double x) in round() function
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/ |
D | fenv.h | 66 typedef struct { int round, except; } femode_t; member
|
D | math.h | 438 extern double round (double);
|
/picolibc-3.7.0-3.6.0/newlib/libm/math/ |
D | math.tex | 78 * round:: Round to integer, away from zero
|
/picolibc-3.7.0-3.6.0/ |
D | meson_options.txt | 158 description: 'use float/string code which supports round-tripping')
|