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

12345

/freebsd-9.3-release/tools/test/testfloat/sparc64/
H A Dsystmodes.c50 void syst_float_set_rounding_precision( int8 precision )
/freebsd-9.3-release/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-9.3-release/contrib/bind9/lib/lwres/
H A Dprint.c78 unsigned long precision; local
115 width = precision = 0;
163 precision = va_arg(ap, int);
167 precision = strtoul(format, &e, 10);
206 if (precision != 0U)
284 if (precision > 2U)
285 precision -= 2;
300 if (precision > 2U)
301 precision -= 2;
307 if (precision !
[all...]
/freebsd-9.3-release/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-9.3-release/contrib/bind9/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-9.3-release/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-9.3-release/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.c253 int precision = GET_MODE_PRECISION (mode); local
259 if (precision == CHAR_TYPE_SIZE)
261 if (precision == SHORT_TYPE_SIZE)
263 if (precision == INT_TYPE_SIZE)
265 if (precision == LONG_TYPE_SIZE)
267 if (precision == LONG_LONG_TYPE_SIZE)
269 if (precision == 2 * BITS_PER_WORD)
274 if (precision == FLOAT_TYPE_SIZE)
276 if (precision == DOUBLE_TYPE_SIZE)
278 if (precision
[all...]
H A Dpretty-print.c39 type-specifier is a precision modifier as indicated by PREC. F is
377 int precision = 0; local
411 /* We don't support precision beyond that of "long long". */
412 gcc_assert (precision < 2);
413 precision++;
419 gcc_assert (!wide || precision == 0);
436 (pp, *text->args_ptr, precision, int, "d");
445 (pp, *text->args_ptr, precision, unsigned, "o");
462 (pp, *text->args_ptr, precision, unsigned, "u");
471 (pp, *text->args_ptr, precision, unsigne
[all...]
H A Dc-objc-common.c165 int precision, bool wide, bool set_locus, bool hash)
173 if (precision != 0 || wide || hash)
164 c_tree_printer(pretty_printer *pp, text_info *text, const char *spec, int precision, bool wide, bool set_locus, bool hash) argument
H A Dstor-layout.c1881 make_signed_type (int precision)
1885 TYPE_PRECISION (type) = precision;
1894 make_unsigned_type (int precision)
1898 TYPE_PRECISION (type) = precision;
1912 int precision = GET_MODE_BITSIZE (SImode);
1919 TYPE_SIZE (t) = build_int_cst (t, precision);
1921 TYPE_PRECISION (t) = precision;
1924 set_min_and_max_values_for_integral_type (t, precision, !signed_p);
1940 /* The *bitsizetype types use a precision that avoids overflows when
1943 precision
1875 make_signed_type(int precision) argument
1888 make_unsigned_type(int precision) argument
1905 int precision = GET_MODE_BITSIZE (SImode); local
1937 int precision = MIN (MIN (oprecision + BITS_PER_UNIT_LOG + 1, local
2015 set_min_and_max_values_for_integral_type(tree type, int precision, bool is_unsigned) argument
2069 int precision = TYPE_PRECISION (type); local
2091 int precision = TYPE_PRECISION (type); local
[all...]
/freebsd-9.3-release/sys/i386/include/
H A Dpcaudioio.h39 unsigned precision; /* sample size in bits */ member in struct:audio_prinfo
/freebsd-9.3-release/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-9.3-release/contrib/llvm/lib/Support/
H A DAPFloat.cpp10 // This file implements a class to represent arbitrary precision floating
55 unsigned int precision; member in struct:llvm::fltSemantics
634 unsigned bitsToPreserve = semantics->precision - 1;
642 unsigned QNaNBit = semantics->precision - 2;
658 // For x87 extended precision, we want to make a NaN, not a
690 semantics->precision - 1) == 0);
713 PartCount*integerPartWidth - semantics->precision + 1;
735 PartCount*integerPartWidth - semantics->precision + 1;
783 exponent = ourSemantics.precision - 1;
822 return partCountForBits(semantics->precision
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/tests/
H A DpacketHandling.c120 double offset, precision, synch_distance; local
122 rpkt.precision = -16; /* 0,000015259 */
151 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
154 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(16), precision);
166 double offset, precision, synch_distance; local
168 rpkt.precision = -1;
198 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance);
201 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(1), precision);
/freebsd-9.3-release/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-9.3-release/usr.bin/seq/
H A Dseq.c254 /* flags, width and precision */
413 int precision, width1, width2, places; local
427 precision = decimal_places(buf);
435 precision = MAX(places, precision);
443 if (precision) {
446 precision, precision, (cc) ? cc : 'f');
/freebsd-9.3-release/contrib/ncurses/form/
H A Dfty_int.c49 int precision; member in struct:__anon3624
71 argp->precision = va_arg(*ap, int);
136 int prec = argi->precision;
H A Dfty_num.c59 int precision; member in struct:__anon3625
82 argn->precision = va_arg(*ap, int);
152 int prec = argn->precision;
/freebsd-9.3-release/contrib/tcpdump/
H A Dntp.h82 int precision:8; member in struct:ntpdata
/freebsd-9.3-release/contrib/ntp/sntp/
H A Dmain.h27 double *precision, double *root_dispersion);
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_shm.c52 #define PRECISION (-1) /* precision assumed (0.5 s) */
102 int precision; member in struct:shmTime
239 up->shm->precision = PRECISION;
240 peer->precision = up->shm->precision;
370 int precision; member in struct:shm_stat_t
505 shm_stat->precision = shmcopy.precision;
635 peer->precision = shm_stat.precision;
[all...]
/freebsd-9.3-release/contrib/ntp/util/
H A Dsht.c40 int precision; member in struct:shmTime
133 printf (" pnnnn set precision to -nnn\n");
158 p->precision=-atoi(argp+1);
177 printf (" leap=%d, precision=%d, nsamples=%d, valid=%d\n",
178 p->leap, p->precision, p->nsamples, p->valid);
/freebsd-9.3-release/contrib/binutils/gas/
H A Datof-generic.c310 unsigned int precision; local
320 precision = (address_of_generic_floating_point_number->high
325 maximum_useful_digits = (((precision - 2))
376 * Use a large-precision version of:
469 size_of_power_in_littlenums = precision;

Completed in 166 milliseconds

12345