Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 181) sorted by relevance

12345678

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dwide-int.h418 <int_traits <T2>::precision> > result_type;
439 <int_traits <T1>::precision> > result_type;
449 STATIC_ASSERT (int_traits <T1>::precision == int_traits <T2>::precision);
453 <int_traits <T1>::precision> > result_type;
622 unsigned int precision;
635 : val (val_in), len (len_in), precision (precision_in)
648 return precision;
757 unsigned int precision)
758 : storage (x, precision)
766 generic_wide_int <storage>::to_shwi (unsigned int precision) const
[all …]
H A Dwide-int.cc84 canonize (HOST_WIDE_INT *val, unsigned int len, unsigned int precision) in canonize() argument
86 unsigned int blocks_needed = BLOCKS_NEEDED (precision); in canonize()
97 if (len * HOST_BITS_PER_WIDE_INT > precision) in canonize()
98 val[len - 1] = top = sext_hwi (top, precision % HOST_BITS_PER_WIDE_INT); in canonize()
126 canonize_uhwi (HOST_WIDE_INT *val, unsigned int precision) in canonize_uhwi() argument
128 if (val[0] < 0 && precision > HOST_BITS_PER_WIDE_INT) in canonize_uhwi()
145 unsigned int xlen, unsigned int precision, bool need_canon) in from_array() argument
149 return need_canon ? canonize (val, xlen, precision) : xlen; in from_array()
159 unsigned int precision = buffer_len * BITS_PER_UNIT; in from_buffer() local
160 wide_int result = wide_int::create (precision); in from_buffer()
[all …]
H A Dgenmodes.c56 unsigned int precision; /* size in bits, equiv to TYPE_PRECISION */ member
290 validate_field (m, precision); in validate_mode()
326 m->precision = 0; in complete_mode()
377 if (m->component->precision != (unsigned int)-1) in complete_mode()
378 m->precision = 2 * m->component->precision; in complete_mode()
394 if (m->component->precision != (unsigned int)-1) in complete_mode()
395 m->precision = m->ncomponents * m->component->precision; in complete_mode()
451 if (m->precision == 1) in make_complex_modes()
522 if (cl == MODE_INT && m->precision == 1) in make_vector_modes()
594 unsigned int precision, unsigned int bytesize, in make_int_mode() argument
[all …]
H A Dlanghooks.c490 lhd_type_for_size (unsigned precision, int unsignedp) in lhd_type_for_size() argument
494 if (precision == TYPE_PRECISION (integer_type_node)) in lhd_type_for_size()
497 if (precision == TYPE_PRECISION (signed_char_type_node)) in lhd_type_for_size()
500 if (precision == TYPE_PRECISION (short_integer_type_node)) in lhd_type_for_size()
503 if (precision == TYPE_PRECISION (long_integer_type_node)) in lhd_type_for_size()
506 if (precision == TYPE_PRECISION (long_long_integer_type_node)) in lhd_type_for_size()
513 && precision == int_n_data[i].bitsize) in lhd_type_for_size()
517 if (precision <= TYPE_PRECISION (intQI_type_node)) in lhd_type_for_size()
520 if (precision <= TYPE_PRECISION (intHI_type_node)) in lhd_type_for_size()
523 if (precision <= TYPE_PRECISION (intSI_type_node)) in lhd_type_for_size()
[all …]
H A Dtree-ssanames.c340 unsigned int precision = TYPE_PRECISION (TREE_TYPE (name)); in set_range_info_raw() local
346 + trailing_wide_ints <3>::extra_size (precision)); in set_range_info_raw()
348 ri->ints.set_precision (precision); in set_range_info_raw()
350 ri->set_nonzero_bits (wi::shwi (-1, precision)); in set_range_info_raw()
366 xorv = wi::mask (precision - wi::clz (xorv), false, precision); in set_range_info_raw()
480 unsigned int precision = element_precision (TREE_TYPE (name)); in get_nonzero_bits() local
486 | (HOST_WIDE_INT) pi->misalign, precision); in get_nonzero_bits()
487 return wi::shwi (-1, precision); in get_nonzero_bits()
492 return wi::shwi (-1, precision); in get_nonzero_bits()
741 unsigned int precision = TYPE_PRECISION (TREE_TYPE (name)); in duplicate_ssa_name_range_info() local
[all …]
H A Dfold-const-call.c480 const real_value *arg, unsigned int precision, in fold_const_conversion() argument
490 *result = real_to_integer (&rounded, &fail, precision); in fold_const_conversion()
773 const real_value *arg, unsigned int precision, in fold_const_call_ss() argument
780 *result = wi::one (precision); in fold_const_call_ss()
782 *result = wi::zero (precision); in fold_const_call_ss()
792 *result = wi::shwi (REAL_EXP (arg) - 1, precision); in fold_const_call_ss()
801 precision, format); in fold_const_call_ss()
807 precision, format); in fold_const_call_ss()
813 precision, format); in fold_const_call_ss()
826 *result = wi::shwi (real_isfinite (arg) ? 1 : 0, precision); in fold_const_call_ss()
[all …]
H A Dstor-layout.c1939 unsigned int precision = TYPE_PRECISION (type); in finalize_type_size() local
1957 TYPE_PRECISION (variant) = precision; in finalize_type_size()
2617 make_signed_type (int precision) in make_signed_type() argument
2621 TYPE_PRECISION (type) = precision; in make_signed_type()
2630 make_unsigned_type (int precision) in make_unsigned_type() argument
2634 TYPE_PRECISION (type) = precision; in make_unsigned_type()
2644 make_fract_type (int precision, int unsignedp, int satp) in make_fract_type() argument
2648 TYPE_PRECISION (type) = precision; in make_fract_type()
2656 SET_TYPE_MODE (type, mode_for_size (precision, mclass, 0).require ()); in make_fract_type()
2666 make_accum_type (int precision, int unsignedp, int satp) in make_accum_type() argument
[all …]
H A Ddouble-int.h445 static const unsigned int precision = HOST_BITS_PER_DOUBLE_INT;
455 return precision;
462 gcc_checking_assert (precision == p);
465 return wi::storage_ref (scratch, 1, precision);
467 return wi::storage_ref (scratch, 2, precision);
/dflybsd-src/contrib/binutils-2.34/gas/config/
H A Datof-ieee.c162 int precision, in atof_ieee_detail() argument
194 = generic_floating_point_number.low + precision - 1 + GUARD; in atof_ieee_detail()
206 gen_to_words (words, precision, exponent_bits); in atof_ieee_detail()
229 int precision; in atof_ieee() local
236 precision = H_PRECISION; in atof_ieee()
244 precision = F_PRECISION; in atof_ieee()
252 precision = D_PRECISION; in atof_ieee()
260 precision = X_PRECISION; in atof_ieee()
266 precision = P_PRECISION; in atof_ieee()
275 return atof_ieee_detail (str, precision, exponent_bits, words, NULL); in atof_ieee()
[all …]
/dflybsd-src/contrib/binutils-2.27/gas/config/
H A Datof-ieee.c169 int precision; in atof_ieee() local
197 precision = F_PRECISION; in atof_ieee()
205 precision = D_PRECISION; in atof_ieee()
213 precision = X_PRECISION; in atof_ieee()
219 precision = P_PRECISION; in atof_ieee()
229 = generic_floating_point_number.low + precision - 1 + GUARD; in atof_ieee()
237 gen_to_words (words, precision, exponent_bits); in atof_ieee()
249 gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits) in gen_to_words() argument
262 words_end = words + precision; in gen_to_words()
264 if (precision == X_PRECISION) in gen_to_words()
[all …]
/dflybsd-src/contrib/gcc-4.7/libcpp/
H A Dexpr.c655 size_t precision = CPP_OPTION (pfile, precision); in cpp_interpret_integer() local
678 if (precision < PART_PRECISION) in cpp_interpret_integer()
679 max >>= PART_PRECISION - precision; in cpp_interpret_integer()
696 result = append_digit (result, c, base, precision); in cpp_interpret_integer()
712 && !num_positive (result, precision)) in cpp_interpret_integer()
745 append_digit (cpp_num num, int digit, int base, size_t precision) in append_digit() argument
798 result = num_trim (result, precision); in append_digit()
952 result = num_trim (result, CPP_OPTION (pfile, precision)); in eval_token()
1417 if (!num_positive (op[-1].value, CPP_OPTION (pfile, precision))) in check_promotion()
1422 else if (!num_positive (op->value, CPP_OPTION (pfile, precision))) in check_promotion()
[all …]
/dflybsd-src/contrib/gcc-8.0/libcpp/
H A Dexpr.c861 size_t precision = CPP_OPTION (pfile, precision); in cpp_interpret_integer() local
884 if (precision < PART_PRECISION) in cpp_interpret_integer()
885 max >>= PART_PRECISION - precision; in cpp_interpret_integer()
904 result = append_digit (result, c, base, precision); in cpp_interpret_integer()
920 && !num_positive (result, precision)) in cpp_interpret_integer()
953 append_digit (cpp_num num, int digit, int base, size_t precision) in append_digit() argument
1006 result = num_trim (result, precision); in append_digit()
1164 result = num_trim (result, CPP_OPTION (pfile, precision)); in eval_token()
1646 if (!num_positive (op[-1].value, CPP_OPTION (pfile, precision))) in check_promotion()
1651 else if (!num_positive (op->value, CPP_OPTION (pfile, precision))) in check_promotion()
[all …]
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dgenmodes.c58 unsigned int precision; /* size in bits, equiv to TYPE_PRECISION */ member
284 validate_field (m, precision); in validate_mode()
320 m->precision = 0; in complete_mode()
371 if (m->component->precision != (unsigned int)-1) in complete_mode()
372 m->precision = 2 * m->component->precision; in complete_mode()
384 if (m->component->precision != (unsigned int)-1) in complete_mode()
385 m->precision = m->ncomponents * m->component->precision; in complete_mode()
439 if (m->precision == 1) in make_complex_modes()
510 if (cl == MODE_INT && m->precision == 1) in make_vector_modes()
546 unsigned int precision, unsigned int bytesize, in make_int_mode() argument
[all …]
H A Dstor-layout.c2344 make_signed_type (int precision) in make_signed_type() argument
2348 TYPE_PRECISION (type) = precision; in make_signed_type()
2357 make_unsigned_type (int precision) in make_unsigned_type() argument
2361 TYPE_PRECISION (type) = precision; in make_unsigned_type()
2371 make_fract_type (int precision, int unsignedp, int satp) in make_fract_type() argument
2375 TYPE_PRECISION (type) = precision; in make_fract_type()
2384 SET_TYPE_MODE (type, mode_for_size (precision, MODE_UFRACT, 0)); in make_fract_type()
2387 SET_TYPE_MODE (type, mode_for_size (precision, MODE_FRACT, 0)); in make_fract_type()
2397 make_accum_type (int precision, int unsignedp, int satp) in make_accum_type() argument
2401 TYPE_PRECISION (type) = precision; in make_accum_type()
[all …]
H A Dpretty-print.c373 int precision = 0; in pp_base_format() local
408 gcc_assert (precision < 2); in pp_base_format()
409 precision++; in pp_base_format()
415 gcc_assert (!wide || precision == 0); in pp_base_format()
432 (pp, *text->args_ptr, precision, int, "d"); in pp_base_format()
441 (pp, *text->args_ptr, precision, unsigned, "o"); in pp_base_format()
458 (pp, *text->args_ptr, precision, unsigned, "u"); in pp_base_format()
467 (pp, *text->args_ptr, precision, unsigned, "x"); in pp_base_format()
509 precision, wide, plus, hash); in pp_base_format()
H A Dtarghooks.c386 int precision = GET_MODE_PRECISION (mode); in default_scalar_mode_supported_p() local
392 if (precision == CHAR_TYPE_SIZE) in default_scalar_mode_supported_p()
394 if (precision == SHORT_TYPE_SIZE) in default_scalar_mode_supported_p()
396 if (precision == INT_TYPE_SIZE) in default_scalar_mode_supported_p()
398 if (precision == LONG_TYPE_SIZE) in default_scalar_mode_supported_p()
400 if (precision == LONG_LONG_TYPE_SIZE) in default_scalar_mode_supported_p()
402 if (precision == 2 * BITS_PER_WORD) in default_scalar_mode_supported_p()
407 if (precision == FLOAT_TYPE_SIZE) in default_scalar_mode_supported_p()
409 if (precision == DOUBLE_TYPE_SIZE) in default_scalar_mode_supported_p()
411 if (precision == LONG_DOUBLE_TYPE_SIZE) in default_scalar_mode_supported_p()
/dflybsd-src/usr.bin/seq/
H A Dseq.c410 int precision, width1, width2, places; in generate_format() local
424 precision = decimal_places(buf); in generate_format()
432 precision = MAX(places, precision); in generate_format()
440 if (precision) { in generate_format()
443 precision, precision, (cc) ? cc : 'f'); in generate_format()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/ext/
H A Drandom.tcc473 const std::streamsize __precision = __os.precision(); in operator <<()
477 __os.precision(std::numeric_limits<_RealType>::max_digits10); in operator <<()
483 __os.precision(__precision); in operator <<()
670 const std::streamsize __precision = __os.precision(); in operator <<()
674 __os.precision(std::numeric_limits<_RealType>::max_digits10); in operator <<()
687 __os.precision(__precision); in operator <<()
756 const std::streamsize __precision = __os.precision(); in operator <<()
760 __os.precision(std::numeric_limits<_RealType>::max_digits10); in operator <<()
768 __os.precision(__precision); in operator <<()
823 const std::streamsize __precision = __os.precision(); in operator <<()
[all …]
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/bits/
H A Drandom.tcc979 const std::streamsize __precision = __os.precision(); in operator <<()
983 __os.precision(std::numeric_limits<_RealType>::max_digits10); in operator <<()
989 __os.precision(__precision); in operator <<()
1024 const std::streamsize __precision = __os.precision(); in operator <<()
1027 __os.precision(std::numeric_limits<double>::max_digits10); in operator <<()
1033 __os.precision(__precision); in operator <<()
1074 const std::streamsize __precision = __os.precision(); in operator <<()
1077 __os.precision(std::numeric_limits<double>::max_digits10); in operator <<()
1083 __os.precision(__precision); in operator <<()
1148 const std::streamsize __precision = __os.precision(); in operator <<()
[all …]
/dflybsd-src/contrib/gdtoa/
H A DREADME3 and extended-precision IEEE binary floating-point arithmetic, and
14 The conversion routines use double-precision floating-point arithmetic
15 and, where necessary, high precision integer arithmetic. The routines
27 VAX, or IBM-mainframe double-precision arithmetic internally, but I (dmg)
28 have so far only had a chance to test them with IEEE double precision
47 f IEEE single precision
48 d IEEE double precision
49 x IEEE extended precision, as on Intel 80x87
53 xL IEEE extended precision, as on Motorola 68xxx chips
54 Q quad precision, as on Sun Sparc chips
[all …]
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/bits/
H A Drandom.tcc941 const std::streamsize __precision = __os.precision(); in operator <<()
945 __os.precision(std::numeric_limits<_RealType>::max_digits10); in operator <<()
951 __os.precision(__precision); in operator <<()
1003 const std::streamsize __precision = __os.precision(); in operator <<()
1006 __os.precision(std::numeric_limits<double>::max_digits10); in operator <<()
1012 __os.precision(__precision); in operator <<()
1085 const std::streamsize __precision = __os.precision(); in operator <<()
1088 __os.precision(std::numeric_limits<double>::max_digits10); in operator <<()
1094 __os.precision(__precision); in operator <<()
1200 const std::streamsize __precision = __os.precision(); in operator <<()
[all …]
/dflybsd-src/contrib/libpcap/
H A Dsavefile.c339 pcap_open_offline_with_tstamp_precision(const char *fname, u_int precision, in pcap_open_offline_with_tstamp_precision() argument
384 p = pcap_fopen_offline_with_tstamp_precision(fp, precision, errbuf); in pcap_open_offline_with_tstamp_precision()
400 pcap_t* pcap_hopen_offline_with_tstamp_precision(intptr_t osfd, u_int precision, in pcap_hopen_offline_with_tstamp_precision() argument
423 return pcap_fopen_offline_with_tstamp_precision(file, precision, in pcap_hopen_offline_with_tstamp_precision()
472 pcap_fopen_offline_with_tstamp_precision(FILE *fp, u_int precision, in pcap_fopen_offline_with_tstamp_precision() argument
518 p = (*check_headers[i])(magic, fp, precision, errbuf, &err); in pcap_fopen_offline_with_tstamp_precision()
/dflybsd-src/contrib/cvs-1.12/lib/
H A Dvasnprintf.c282 size_t precision; in VASNPRINTF() local
306 precision = 6; in VASNPRINTF()
316 precision = (arg < 0 ? 0 : arg); in VASNPRINTF()
322 precision = 0; in VASNPRINTF()
324 precision = xsum (xtimes (precision, 10), *digitp++ - '0'); in VASNPRINTF()
434 tmp_length = xsum (tmp_length, precision); in VASNPRINTF()
441 tmp_length = xsum (tmp_length, precision); in VASNPRINTF()
/dflybsd-src/contrib/gcc-8.0/libstdc++-v3/include/tr1/
H A Drandom.tcc969 const std::streamsize __precision = __os.precision(); in operator <<()
972 __os.precision(__gnu_cxx::__numeric_traits<double>::__max_digits10); in operator <<()
978 __os.precision(__precision); in operator <<()
1016 const std::streamsize __precision = __os.precision(); in operator <<()
1019 __os.precision(__gnu_cxx::__numeric_traits<_RealType>::__max_digits10); in operator <<()
1025 __os.precision(__precision); in operator <<()
1179 const std::streamsize __precision = __os.precision(); in operator <<()
1183 __os.precision(__gnu_cxx::__numeric_traits<_RealType>::__max_digits10); in operator <<()
1189 __os.precision(__precision); in operator <<()
1417 const std::streamsize __precision = __os.precision(); in operator <<()
[all …]
/dflybsd-src/contrib/gcc-4.7/libstdc++-v3/include/tr1/
H A Drandom.tcc972 const std::streamsize __precision = __os.precision(); in operator <<()
975 __os.precision(__gnu_cxx::__numeric_traits<double>::__max_digits10); in operator <<()
981 __os.precision(__precision); in operator <<()
1019 const std::streamsize __precision = __os.precision(); in operator <<()
1022 __os.precision(__gnu_cxx::__numeric_traits<_RealType>::__max_digits10); in operator <<()
1028 __os.precision(__precision); in operator <<()
1182 const std::streamsize __precision = __os.precision(); in operator <<()
1186 __os.precision(__gnu_cxx::__numeric_traits<_RealType>::__max_digits10); in operator <<()
1192 __os.precision(__precision); in operator <<()
1420 const std::streamsize __precision = __os.precision(); in operator <<()
[all …]

12345678