Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dstrtorx.c102 _strtorx_l(s, sp, rounding, L, loc) const char *s; char **sp; int rounding; void *L; locale_t loc; in _strtorx_l() argument
104 _strtorx_l(const char *s, char **sp, int rounding, void *L,
115 if (rounding != FPI_Round_near) {
117 fpi1.rounding = rounding;
Dstrtod.c167 #define Rounding rounding
264 int rounding; local
316 case FE_TOWARDZERO: fpi1.rounding = 0; break;
317 case FE_UPWARD: fpi1.rounding = 2; break;
318 case FE_DOWNWARD: fpi1.rounding = 3;
582 if ((rounding = Flt_Rounds) >= 2) {
584 rounding = rounding == 2 ? 0 : 2;
586 if (rounding != 2)
587 rounding = 0;
606 switch(rounding) {
[all …]
Dgdtoa-gethex.c294 switch (fpi->rounding) { in gethex()
330 switch(fpi->rounding) { in gethex()
Dgdtoa.h90 int rounding; member
Dstrtodg.c308 fpi->rounding == in rvOK()
632 switch(fpi->rounding & 3) { in _strtodg_l()
/picolibc-3.7.0-3.6.0/newlib/libm/fenv/
Dfenv.tex14 * fegetround:: Get current rounding direction
19 * fesetround:: Set current rounding direction
/picolibc-3.7.0-3.6.0/test/
DCMakeLists.txt93 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.build345 t1 = 'rounding-mode'
353 executable(t1_name, ['rounding-mode.c', 'rounding-mode-sub.c'],
588 test('rounding-mode_native',
589 executable('rounding-mode_native',
590 ['rounding-mode.c', 'rounding-mode-sub.c'],
/picolibc-3.7.0-3.6.0/doc/
Dusing.md49 FPSCR register set up to match C semantics for rounding.
/picolibc-3.7.0-3.6.0/
DREADME.md219 * Make math overflow and underflow handlers respect rounding modes.
223 management to ensure that only a single rounding operation occurs.
642 rounding and trimming trailing zeros when possible.
758 and rounding modes get defined when not supported.
DCOPYING.picolibc1249 test/rounding-mode-sub.c
1250 test/rounding-mode.c
/picolibc-3.7.0-3.6.0/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.