Home
last modified time | relevance | path

Searched refs:expt (Results 1 – 7 of 7) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/stdio/
Dnano-vfprintf_float.c178 int expt; in _printf_float() local
240 &expt, code, &ndig, cp); in _printf_float()
244 if (expt <= -4 || expt > pdata->prec) in _printf_float()
253 --expt; in _printf_float()
254 expsize = __exponent (pdata->expstr, expt, code); in _printf_float()
264 if (expt > 0) in _printf_float()
266 pdata->size = expt; in _printf_float()
275 else if (expt >= ndig) in _printf_float()
278 pdata->size = expt; in _printf_float()
283 pdata->size = ndig + (expt > 0 ? 1 : 2 - expt); in _printf_float()
[all …]
Dvfwprintf.c386 int expt; /* integer value of exponent */ in VFWPRINTF() local
960 expt = _ldcheck (&_fpvalue); in VFWPRINTF()
961 if (expt == 2) { in VFWPRINTF()
972 if (expt == 1) { in VFWPRINTF()
1013 &expt, ch, &ndig, cp, BUF); in VFWPRINTF()
1028 &expt, ch, &ndig, malloc_buf, ndig); in VFWPRINTF()
1032 if (expt <= -4 || expt > prec) in VFWPRINTF()
1042 --expt; in VFWPRINTF()
1043 expsize = wexponent (expstr, expt, ch); in VFWPRINTF()
1052 if (expt > 0) { in VFWPRINTF()
[all …]
Dvfprintf.c667 int expt; /* integer value of exponent */ local
1236 expt = _ldcheck (&_fpvalue);
1237 if (expt == 2) {
1248 if (expt == 1) {
1290 &expt, ch, &ndig, cp);
1295 if (expt <= -4 || expt > prec)
1305 --expt;
1306 expsize = exponent (expstr, expt, ch);
1315 if (expt > 0) {
1316 size = expt;
[all …]
/picolibc-3.5.0-3.4.0/newlib/libm/ld/common/
Ds_atanl.c33 int16_t expsign, expt; in atanl() local
38 expt = expsign & 0x7fff; in atanl()
39 if(expt >= ATAN_CONST) { /* if |x| is large, atan(x)~=pi/2 */ in atanl()
40 if(expt == BIAS + LDBL_MAX_EXP && in atanl()
48 expman = (expt << 8) | ((u.bits.manh >> (MANH_SIZE - 9)) & 0xff); in atanl()
50 if (expt < ATAN_LINEAR) { /* if |x| is small, atanl(x)~=x */ in atanl()
De_asinl.c34 int16_t expsign, expt; in asinl() local
37 expt = expsign & 0x7fff; in asinl()
38 if(expt >= BIAS) { /* |x|>= 1 */ in asinl()
39 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) in asinl()
43 } else if (expt<BIAS-1) { /* |x|<0.5 */ in asinl()
44 if(expt<ASIN_LINEAR) { /* if |x| is small, asinl(x)=x */ in asinl()
De_acosl.c46 int16_t expsign, expt; in acosl() local
49 expt = expsign & 0x7fff; in acosl()
50 if(expt >= BIAS) { /* |x| >= 1 */ in acosl()
51 if(expt==BIAS && ((u.bits.manh&~LDBL_NBIT)|u.bits.manl)==0) { in acosl()
57 if(expt<BIAS-1) { /* |x| < 0.5 */ in acosl()
58 if(expt<ACOS_CONST) return pio2_hi+pio2_lo;/*x tiny: acosl=pi/2*/ in acosl()
/picolibc-3.5.0-3.4.0/newlib/
DChangeLog-201519983 are padding zeroes (expt) in addition to any digits (ndig) to