Home
last modified time | relevance | path

Searched refs:rounding (Results 1 – 14 of 14) sorted by relevance

/picolibc-latest/newlib/libc/stdlib/
Dstrtorx.c97 _strtorx_l(s, sp, rounding, L, loc) const char *s; char **sp; int rounding; void *L; locale_t loc; in _strtorx_l() argument
99 _strtorx_l(const char *s, char **sp, int rounding, void *L,
110 if (rounding != FPI_Round_near) {
112 fpi1.rounding = rounding;
Dstrtod.c166 #define Rounding rounding
263 int rounding; local
315 case FE_TOWARDZERO: fpi1.rounding = 0; break;
316 case FE_UPWARD: fpi1.rounding = 2; break;
317 case FE_DOWNWARD: fpi1.rounding = 3;
581 if ((rounding = Flt_Rounds) >= 2) {
583 rounding = rounding == 2 ? 0 : 2;
585 if (rounding != 2)
586 rounding = 0;
605 switch(rounding) {
[all …]
Dgdtoa-gethex.c293 switch (fpi->rounding) { in gethex()
329 switch(fpi->rounding) { in gethex()
Dgdtoa.h90 int rounding; member
Dstrtodg.c307 fpi->rounding == in rvOK()
631 switch(fpi->rounding & 3) { in _strtodg_l()
/picolibc-latest/newlib/libm/fenv/
Dfenv.tex14 * Function fegetround:: Get current rounding direction
19 * Function fesetround:: Set current rounding direction
/picolibc-latest/test/
DCMakeLists.txt106 picolibc_test(rounding-mode rounding-mode-sub.c)
Dfma_gen.5c36 /* List of all IEEE rounding modes */
88 * rounding mode.
125 * preserve all of the bits until rounding happens
133 * rounding decisions.
159 * rounding down to -infinity
176 * rounding up to infinity
199 * Handle underflow in a way that preserves rounding
Dmeson.build427 t1 = 'rounding-mode'
435 executable(t1_name, ['rounding-mode.c', 'rounding-mode-sub.c'],
703 test('rounding-mode-native',
704 executable('rounding-mode-native',
705 ['rounding-mode.c', 'rounding-mode-sub.c'],
/picolibc-latest/
DREADME.md227 * Fix double rounding in %f printf. Thanks to Ahmed Shehab for
235 * Fix rounding in float scanf. This does round twice for input longer
347 * Make math overflow and underflow handlers respect rounding modes.
351 management to ensure that only a single rounding operation occurs.
770 rounding and trimming trailing zeros when possible.
886 and rounding modes get defined when not supported.
DCOPYING.picolibc1228 test/rounding-mode-sub.c
1229 test/rounding-mode.c
1230 test/rounding-mode.h
/picolibc-latest/doc/
Dusing.md72 FPSCR register set up to match C semantics for rounding.
/picolibc-latest/newlib/
DNEWS43 - fixed rounding issue with sqrt/sqrtf
DChangeLog-20157835 * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
18693 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
18905 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
21376 * libc/stdlib/div.c (div): Modified invalid rounding check.
23503 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
27279 within 1 ulp. (Paranoia tests for rounding to better than that,
27697 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
27707 rounding in sprintf too.