Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/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-3.7.0-3.6.0/newlib/libc/stdlib/
Dstrtod.c250 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local
353 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
354 if (nd < 9)
358 nd0 = nd;
363 if (!nd) {
380 if (nd++ < 9)
382 else if (nd <= DBL_DIG + 1)
384 if (nd++ < 9)
386 else if (nd <= DBL_DIG + 1)
395 if (!nd && !nz && !nz0) {
[all …]
Dstrtodg.c444 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; in _strtodg_l() local
506 for(decpt = nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++) in _strtodg_l()
507 if (nd < 9) in _strtodg_l()
509 else if (nd < 16) in _strtodg_l()
511 nd0 = nd; in _strtodg_l()
524 if (!nd) { in _strtodg_l()
541 if (nd++ < 9) in _strtodg_l()
543 else if (nd <= DBL_DIG + 1) in _strtodg_l()
545 if (nd++ < 9) in _strtodg_l()
547 else if (nd <= DBL_DIG + 1) in _strtodg_l()
[all …]
Dmprec.c221 int nd, in s2b() argument
228 x = (nd + 8) / 9; in s2b()
255 for (; i < nd; i++) in s2b()
/picolibc-3.7.0-3.6.0/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.