Home
last modified time | relevance | path

Searched refs:prec (Results 1 – 13 of 13) sorted by relevance

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dvfprintf.c628 if (prec < 0) \ in vfprintf()
630 prec = 1; \ in vfprintf()
639 if (prec == 0 && number.longlong == 0) \ in vfprintf()
686 if (prec < 0) \ in vfprintf()
688 prec = 1; \ in vfprintf()
697 if (prec == 0 && number.word == 0) \ in vfprintf()
717 if (prec <= workend - string && number.word != 0 && alt && base == 8) \ in vfprintf()
721 prec = MAX (0, prec - (workend - string)); \ in vfprintf()
725 width -= workend - string + prec; \ in vfprintf()
753 width += prec; \ in vfprintf()
[all …]
H A Dprintf_size.c182 int width = info->prec > info->width ? info->prec : info->width; in printf_size()
209 fp_info.prec = info->prec < 0 ? 3 : info->prec; in printf_size()
H A Dprintf-parse.h258 spec->info.prec = -1; in parse_one_spec()
288 spec->info.prec = read_int (&format); in parse_one_spec()
291 spec->info.prec = 0; in parse_one_spec()
H A Dprintf_fp.c812 fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec; in __printf_fp()
821 fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec; in __printf_fp()
838 dig_max = info->prec < 0 ? 6 : (info->prec == 0 ? 1 : info->prec); in __printf_fp()
H A Dprintf.h35 int prec; /* Precision. */ member
H A Dprintf_fphex.c222 int precision = info->prec; in __printf_fphex()
/haiku/src/libs/stdc++/legacy/
H A Diostream.cc46 int __cvt_double(double number, register int prec, int flags, int *signp,
699 int prec = precision(); in operator <<() local
700 if (prec <= 0 && !(flags() & ios::fixed)) in operator <<()
701 prec = 6; /* default */ in operator <<()
706 struct printf_info info = { /* prec: */ prec, in operator <<()
735 prec, flags(), in operator <<()
741 if (prec > MAXFRACT) { in operator <<()
743 fpprec = prec - MAXFRACT; in operator <<()
744 prec = MAXFRACT; in operator <<()
751 int size = __cvt_double(n, prec, in operator <<()
[all …]
/haiku/src/system/libroot/posix/musl/math/
H A D__rem_pio2_large.c273 int __rem_pio2_large(double *x, double *y, int e0, int nx, int prec) in __rem_pio2_large() argument
279 jk = init_jk[prec]; in __rem_pio2_large()
402 switch(prec) { in __rem_pio2_large()
/haiku/headers/glibc/
H A Dprintf.h35 int prec; /* Precision. */ member
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_debug.c774 precsize_ntoa(u_int32_t prec) in precsize_ntoa() argument
780 mantissa = (int)((prec >> 4) & 0x0f) % 10; in precsize_ntoa()
781 exponent = (int)((prec >> 0) & 0x0f) % 10; in precsize_ntoa()
/haiku/src/add-ons/translators/jpeg2000/
H A DJPEG2000Translator.cpp1022 component_info[i].prec = (unsigned int)8; in Compress()
/haiku/src/bin/rc/
H A Dparser.y444 | '~' expr %prec FLIP { $$ = unary_expr($2, '~'); }
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp51 partition_data* child, off_t childOffset, partition_data** prec,