Searched refs:precision (Results 1 - 25 of 145) sorted by relevance

123456

/freebsd-11-stable/tools/test/testfloat/sparc64/
H A Dsystmodes.c50 void syst_float_set_rounding_precision( int8 precision )
/freebsd-11-stable/contrib/libpcap/
H A Dsf-pcapng.h30 u_int precision, char *errbuf, int *err);
H A Dsf-pcap.h35 u_int precision, char *errbuf, int *err);
/freebsd-11-stable/contrib/binutils/gas/config/
H A Datof-ieee.c29 /* Don't count the gap in the m68k extended precision format. */
173 int precision;
201 precision = F_PRECISION;
209 precision = D_PRECISION;
217 precision = X_PRECISION;
224 precision = P_PRECISION;
234 = generic_floating_point_number.low + precision - 1 + GUARD;
242 gen_to_words (words, precision, exponent_bits);
254 gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits)
267 words_end = words + precision;
171 int precision; local
252 gen_to_words(LITTLENUM_TYPE *words, int precision, long exponent_bits) argument
[all...]
H A Datof-vax.c204 int precision; /* Number of 16-bit words in the format. */
214 if (what_kind_of_float (what_kind, &precision, &exponent_bits))
227 f.high = f.low + precision - 1 + GUARD;
251 int precision;
255 return_value = what_kind_of_float (format_letter, &precision, &exponent_bits);
264 memset (words, '\0', sizeof (LITTLENUM_TYPE) * precision);
334 for (; lp < words + precision; lp++)
201 int precision; /* Number of 16-bit words in the format. */ local
247 int precision; local
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dexpr.c364 of precision options->precision.
390 size_t precision = CPP_OPTION (pfile, precision); local
411 needing the precision and slowness of double integers. */
413 if (precision < PART_PRECISION)
414 max >>= PART_PRECISION - precision;
431 result = append_digit (result, c, base, precision);
447 && !num_positive (result, precision))
461 append_digit (cpp_num num, int digit, int base, size_t precision) argument
1078 num_trim(cpp_num num, size_t precision) argument
1098 num_positive(cpp_num num, size_t precision) argument
1112 cpp_num_sign_extend(cpp_num num, size_t precision) argument
1136 num_negate(cpp_num num, size_t precision) argument
1153 num_greater_eq(cpp_num pa, cpp_num pb, size_t precision) argument
1243 num_rshift(cpp_num num, size_t precision, size_t n) argument
1284 num_lshift(cpp_num num, size_t precision, size_t n) argument
1362 size_t precision = CPP_OPTION (pfile, precision); local
1461 size_t precision = CPP_OPTION (pfile, precision); local
1512 size_t i, precision = CPP_OPTION (pfile, precision); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_trunc.h1 //=== lib/fp_trunc.h - high precision -> low precision conversion *- C -*-===//
9 // Set source and destination precision setting
37 #error Source should be double precision or quad precision!
38 #endif // end source precision
59 #error Destination should be single precision or double precision!
60 #endif // end destination precision
H A Dfp_extend.h1 //===-lib/fp_extend.h - low precision -> high precision conversion -*- C
50 #error Source should be half, single, or double precision!
51 #endif // end source precision
72 #error Destination should be single, double, or quad precision!
73 #endif // end destination precision
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOptionalDiagnostic.h51 // FIXME: Force the precision of the source value down so we don't
57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics()); local
58 precision = (precision * 59 + 195) / 196;
60 F.toString(Buffer, precision);
/freebsd-11-stable/contrib/ldns/compat/
H A Dsnprintf.c62 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
238 print_num(char** at, size_t* left, int* ret, int minw, int precision, argument
248 if(precision == 0 && zero) numw = 0;
249 if(numw < precision) numw = precision;
256 if(precision == 0 && zero) {
259 if(w < precision)
260 print_pad(at, left, ret, '0', precision - w);
270 if(precision == 0 && zero) numw = 0;
271 if(numw < precision) num
295 print_num_d(char** at, size_t* left, int* ret, int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
310 print_num_ld(char** at, size_t* left, int* ret, long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
325 print_num_lld(char** at, size_t* left, int* ret, long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
340 print_num_u(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
354 print_num_lu(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
368 print_num_llu(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
382 print_num_x(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
396 print_num_lx(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
410 print_num_llx(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
424 print_num_llp(char** at, size_t* left, int* ret, void* value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
508 print_num_f(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
553 print_num_g(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
583 print_str(char** at, size_t* left, int* ret, char* s, int minw, int precision, int prgiven, int minus) argument
635 int conv, minw, precision, prgiven, zeropad, minus, plus, space, length; local
[all...]
/freebsd-11-stable/contrib/unbound/compat/
H A Dsnprintf.c63 * This includes width, precision, flags 0- +, and *(arg for wid,prec).
239 print_num(char** at, size_t* left, int* ret, int minw, int precision, argument
249 if(precision == 0 && zero) numw = 0;
250 if(numw < precision) numw = precision;
257 if(precision == 0 && zero) {
260 if(w < precision)
261 print_pad(at, left, ret, '0', precision - w);
271 if(precision == 0 && zero) numw = 0;
272 if(numw < precision) num
296 print_num_d(char** at, size_t* left, int* ret, int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
311 print_num_ld(char** at, size_t* left, int* ret, long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
326 print_num_lld(char** at, size_t* left, int* ret, long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
341 print_num_u(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
355 print_num_lu(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
369 print_num_llu(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
383 print_num_x(char** at, size_t* left, int* ret, unsigned int value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
397 print_num_lx(char** at, size_t* left, int* ret, unsigned long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
411 print_num_llx(char** at, size_t* left, int* ret, unsigned long long value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
425 print_num_llp(char** at, size_t* left, int* ret, void* value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
509 print_num_f(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
554 print_num_g(char** at, size_t* left, int* ret, double value, int minw, int precision, int prgiven, int zeropad, int minus, int plus, int space) argument
584 print_str(char** at, size_t* left, int* ret, char* s, int minw, int precision, int prgiven, int minus) argument
636 int conv, minw, precision, prgiven, zeropad, minus, plus, space, length; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dprint.c81 unsigned long precision; local
118 width = precision = 0;
165 precision = va_arg(ap, int);
169 precision = strtoul(format, &e, 10);
208 if (precision != 0)
334 if (precision > 2)
335 precision -= 2;
356 if (precision > 2)
357 precision -= 2;
370 if (precision !
[all...]
/freebsd-11-stable/contrib/gcc/
H A Dgenmodes.c59 unsigned int precision; /* size in bits, equiv to TYPE_PRECISION */ member in struct:mode_data
275 validate_field (m, precision);
311 m->precision = 0;
357 if (m->component->precision != (unsigned int)-1)
358 m->precision = 2 * m->component->precision;
366 if (m->component->precision != (unsigned int)-1)
367 m->precision = m->ncomponents * m->component->precision;
421 if (m->precision
527 make_int_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *file, unsigned int line) argument
541 make_float_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *format, const char *file, unsigned int line) argument
558 make_decimal_float_mode(const char *name, unsigned int precision, unsigned int bytesize, const char *format, const char *file, unsigned int line) argument
594 make_partial_integer_mode(const char *base, const char *name, unsigned int precision, const char *file, unsigned int line) argument
[all...]
H A Dtarghooks.c265 int precision = GET_MODE_PRECISION (mode); local
271 if (precision == CHAR_TYPE_SIZE)
273 if (precision == SHORT_TYPE_SIZE)
275 if (precision == INT_TYPE_SIZE)
277 if (precision == LONG_TYPE_SIZE)
279 if (precision == LONG_LONG_TYPE_SIZE)
281 if (precision == 2 * BITS_PER_WORD)
286 if (precision == FLOAT_TYPE_SIZE)
288 if (precision == DOUBLE_TYPE_SIZE)
290 if (precision
[all...]
/freebsd-11-stable/contrib/ncurses/form/
H A Dfty_num.c59 int precision; member in struct:__anon4635
68 int precision; member in struct:__anon4636
95 argn->precision = args->precision;
122 arg.precision = va_arg(*ap, int);
186 int prec = argn->precision;
H A Dfty_int.c49 int precision; member in struct:__anon4633
57 int precision; member in struct:__anon4634
103 arg.precision = va_arg(*ap, int);
168 int prec = argi->precision;
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c51 nstosbt(hrtimer->expires), nstosbt(hrtimer->precision), 0);
109 hrtimer->precision = nsec;
121 nstosbt(hrtimer->precision), hrtimer_call_handler, hrtimer, 0);
/freebsd-11-stable/sys/i386/include/
H A Dpcaudioio.h39 unsigned precision; /* sample size in bits */ member in struct:audio_prinfo
/freebsd-11-stable/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.c412 * not known nor exposed by ntpd, only the measured precision (time to
415 * Logically the resolution must be at least the precision, so report
427 int precision; local
433 if (!read_ntp_value("precision", ntpvalue,
436 if (1 != sscanf(ntpvalue, "%d", &precision))
438 if (precision >= 0)
440 precision = max(precision, -31);
441 resolution = 1 << -precision;
459 * "The entity's precision i
470 int precision; local
[all...]
/freebsd-11-stable/contrib/ntp/sntp/tests/
H A DpacketHandling.c121 double offset, precision, synch_distance; local
123 rpkt.precision = -16; /* 0,000015259 */
152 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
155 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(16), precision);
167 double offset, precision, synch_distance; local
169 rpkt.precision = -1;
199 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
202 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(1), precision);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp83 auto &precision = FS.getPrecision(); local
84 switch (precision.getHowSpecified()) {
88 ArgsData.back().Size = precision.getConstantAmount();
91 ArgsData.back().Count = Args[precision.getArgIndex()];
99 auto &precision = FS.getPrecision(); local
100 switch (precision.getHowSpecified()) {
104 ArgsData.back().Size = precision.getConstantAmount();
107 ArgsData.back().Count = Args[precision.getArgIndex()];
/freebsd-11-stable/contrib/apr/strings/
H A Dapr_snprintf.c270 * This macro does zero padding so that the precision
273 * to be printed. We don't allow precision to be large
279 #define FIX_PRECISION(adjust, precision, s, s_len) \
281 apr_size_t p = (precision + 1 < NUM_BUF_SIZE) \
282 ? precision : NUM_BUF_SIZE - 1; \
517 boolean_e add_dp, int precision, int *is_negative,
526 p = apr_fcvt(num, precision, &decimal_point, is_negative, buf1);
528 p = apr_ecvt(num, precision + 1, &decimal_point, is_negative, buf1);
543 if (precision > 0) {
554 if (precision >
516 conv_fp(register char format, register double num, boolean_e add_dp, int precision, int *is_negative, char *buf, apr_size_t *len) argument
695 apr_size_t precision = 0; local
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dsnprintf.c56 * precision specifications; fix various floating point conversion bugs;
59 * check for integer overflow of the field width, precision, and return
573 int precision = -1; local
660 if (precision == -1)
661 precision = 0;
664 if (precision > (INT_MAX - ch) / 10) {
668 precision = 10 * precision + ch;
672 * C99 says: "A negative precision argument is
673 * taken as if the precision wer
957 fmtstr(char *str, size_t *len, size_t size, const char *value, int width, int precision, int flags) argument
991 fmtint(char *str, size_t *len, size_t size, INTMAX_T value, int base, int width, int precision, int flags) argument
1092 fmtflt(char *str, size_t *len, size_t size, LDOUBLE fvalue, int width, int precision, int flags, int *overflow) argument
[all...]
/freebsd-11-stable/usr.bin/seq/
H A Dseq.c286 /* precision */
461 int precision, width1, width2, places; local
475 precision = decimal_places(buf);
483 precision = MAX(places, precision);
491 if (precision) {
494 precision, precision, (cc) ? cc : 'f');
/freebsd-11-stable/contrib/ntp/sntp/
H A Dmain.h27 double *precision, double *root_dispersion);

Completed in 149 milliseconds

123456