Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 5 of 5) sorted by relevance

/picolibc-latest/newlib/libm/test/
Dmath2.c187 double nd; in test_mod() local
189 nd = randx() ; in test_mod()
190 if (fabs(nd) < (double) FLT_MAX && finitef(nd) && nd != 0.0) in test_mod()
192 volatile float n = nd; in test_mod()
/picolibc-latest/newlib/libc/stdlib/
Dstrtod.c249 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
352 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
353 if (nd < 9)
357 nd0 = nd;
362 if (!nd) {
379 if (nd++ < 9)
381 else if (nd <= DBL_DIG + 1)
383 if (nd++ < 9)
385 else if (nd <= DBL_DIG + 1)
394 if (!nd && !nz && !nz0) {
[all …]
Dstrtodg.c443 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; in _strtodg_l() local
505 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) in _strtodg_l()
506 if (nd < 9) in _strtodg_l()
508 else if (nd < 16) in _strtodg_l()
510 nd0 = nd; in _strtodg_l()
523 if (!nd) { in _strtodg_l()
540 if (nd++ < 9) in _strtodg_l()
542 else if (nd <= DBL_DIG + 1) in _strtodg_l()
544 if (nd++ < 9) in _strtodg_l()
546 else if (nd <= DBL_DIG + 1) in _strtodg_l()
[all …]
Dmprec.c230 int nd, in s2b() argument
237 x = (nd + 8) / 9; in s2b()
264 for (; i < nd; i++) in s2b()
/picolibc-latest/newlib/
DChangeLog-20154217 * libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
7341 2nd parameter is void *, matching SUSV2.
7841 2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
9827 to pass NULL as 2nd argument.