Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.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.c394 int expt; /* integer value of exponent */ in VFWPRINTF() local
971 expt = _ldcheck (&_fpvalue); in VFWPRINTF()
972 if (expt == 2) { in VFWPRINTF()
983 if (expt == 1) { in VFWPRINTF()
1024 &expt, ch, &ndig, cp, BUF); in VFWPRINTF()
1039 &expt, ch, &ndig, malloc_buf, ndig); in VFWPRINTF()
1043 if (expt <= -4 || expt > prec) in VFWPRINTF()
1053 --expt; in VFWPRINTF()
1054 expsize = wexponent (expstr, expt, ch); in VFWPRINTF()
1063 if (expt > 0) { in VFWPRINTF()
[all …]
Dvfprintf.c426 int expt; /* integer value of exponent */ in VFPRINTF() local
1015 expt = _ldcheck (&_fpvalue); in VFPRINTF()
1016 if (expt == 2) { in VFPRINTF()
1027 if (expt == 1) { in VFPRINTF()
1069 &expt, ch, &ndig, cp); in VFPRINTF()
1074 if (expt <= -4 || expt > prec) in VFPRINTF()
1084 --expt; in VFPRINTF()
1085 expsize = exponent (expstr, expt, ch); in VFPRINTF()
1094 if (expt > 0) { in VFPRINTF()
1095 size = expt; in VFPRINTF()
[all …]
/picolibc-3.7.0-3.6.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.7.0-3.6.0/newlib/
DChangeLog-201519983 are padding zeroes (expt) in addition to any digits (ndig) to