| /trueos/contrib/binutils/gas/config/ |
| HD | atof-ieee.c | 171 int precision; in atof_ieee() local 199 precision = F_PRECISION; in atof_ieee() 207 precision = D_PRECISION; in atof_ieee() 215 precision = X_PRECISION; in atof_ieee() 222 precision = P_PRECISION; in atof_ieee() 232 = generic_floating_point_number.low + precision - 1 + GUARD; in atof_ieee() 240 gen_to_words (words, precision, exponent_bits); in atof_ieee() 252 gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits) in gen_to_words() argument 265 words_end = words + precision; in gen_to_words() 267 if (precision == X_PRECISION) in gen_to_words() [all …]
|
| HD | atof-vax.c | 201 int precision; /* Number of 16-bit words in the format. */ in atof_vax() local 211 if (what_kind_of_float (what_kind, &precision, &exponent_bits)) in atof_vax() 224 f.high = f.low + precision - 1 + GUARD; in atof_vax() 247 int precision; in flonum_gen2vax() local 251 return_value = what_kind_of_float (format_letter, &precision, &exponent_bits); in flonum_gen2vax() 260 memset (words, '\0', sizeof (LITTLENUM_TYPE) * precision); in flonum_gen2vax() 330 for (; lp < words + precision; lp++) in flonum_gen2vax()
|
| /trueos/contrib/ldns/compat/ |
| HD | snprintf.c | 238 print_num(char** at, size_t* left, int* ret, int minw, int precision, in print_num() argument 248 if(precision == 0 && zero) numw = 0; in print_num() 249 if(numw < precision) numw = precision; in print_num() 256 if(precision == 0 && zero) { in print_num() 259 if(w < precision) in print_num() 260 print_pad(at, left, ret, '0', precision - w); in print_num() 270 if(precision == 0 && zero) numw = 0; in print_num() 271 if(numw < precision) numw = precision; in print_num() 286 if(precision == 0 && zero) in print_num() 296 int minw, int precision, int prgiven, int zeropad, int minus, in print_num_d() argument [all …]
|
| /trueos/contrib/unbound/compat/ |
| HD | snprintf.c | 238 print_num(char** at, size_t* left, int* ret, int minw, int precision, in print_num() argument 248 if(precision == 0 && zero) numw = 0; in print_num() 249 if(numw < precision) numw = precision; in print_num() 256 if(precision == 0 && zero) { in print_num() 259 if(w < precision) in print_num() 260 print_pad(at, left, ret, '0', precision - w); in print_num() 270 if(precision == 0 && zero) numw = 0; in print_num() 271 if(numw < precision) numw = precision; in print_num() 286 if(precision == 0 && zero) in print_num() 296 int minw, int precision, int prgiven, int zeropad, int minus, in print_num_d() argument [all …]
|
| /trueos/contrib/gcclibs/libcpp/ |
| HD | expr.c | 390 size_t precision = CPP_OPTION (pfile, precision); in cpp_interpret_integer() local 413 if (precision < PART_PRECISION) in cpp_interpret_integer() 414 max >>= PART_PRECISION - precision; in cpp_interpret_integer() 431 result = append_digit (result, c, base, precision); in cpp_interpret_integer() 447 && !num_positive (result, precision)) in cpp_interpret_integer() 461 append_digit (cpp_num num, int digit, int base, size_t precision) in append_digit() argument 514 result = num_trim (result, precision); in append_digit() 641 result = num_trim (result, CPP_OPTION (pfile, precision)); in eval_token() 1065 if (!num_positive (op[-1].value, CPP_OPTION (pfile, precision))) in check_promotion() 1070 else if (!num_positive (op->value, CPP_OPTION (pfile, precision))) in check_promotion() [all …]
|
| /trueos/contrib/llvm/lib/Target/ARM/ |
| HD | ARMScheduleV6.td | 192 // RunFast mode so that NFP pipeline is used for single-precision when 198 // Single-precision FP Unary 201 // Double-precision FP Unary 204 // Single-precision FP Compare 207 // Double-precision FP Compare 228 // Single-precision FP ALU 231 // Double-precision FP ALU 234 // Single-precision FP Multiply 237 // Double-precision FP Multiply 240 // Single-precision FP MAC [all …]
|
| HD | ARMScheduleA8.td | 250 // RunFast mode so that NFP pipeline is used for single-precision when 257 // Single-precision FP Unary 261 // Double-precision FP Unary 266 // Single-precision FP Compare 270 // Double-precision FP Compare 303 // Single-precision FP ALU 307 // Double-precision FP ALU 312 // Single-precision FP Multiply 316 // Double-precision FP Multiply 321 // Single-precision FP MAC [all …]
|
| /trueos/contrib/gcc/ |
| HD | genmodes.c | 59 unsigned int precision; /* size in bits, equiv to TYPE_PRECISION */ member 275 validate_field (m, precision); in validate_mode() 311 m->precision = 0; in complete_mode() 357 if (m->component->precision != (unsigned int)-1) in complete_mode() 358 m->precision = 2 * m->component->precision; in complete_mode() 366 if (m->component->precision != (unsigned int)-1) in complete_mode() 367 m->precision = m->ncomponents * m->component->precision; in complete_mode() 421 if (m->precision == 1) in make_complex_modes() 492 if (cl == MODE_INT && m->precision == 1) in make_vector_modes() 528 unsigned int precision, unsigned int bytesize, in make_int_mode() argument [all …]
|
| HD | targhooks.c | 265 int precision = GET_MODE_PRECISION (mode); in default_scalar_mode_supported_p() local 271 if (precision == CHAR_TYPE_SIZE) in default_scalar_mode_supported_p() 273 if (precision == SHORT_TYPE_SIZE) in default_scalar_mode_supported_p() 275 if (precision == INT_TYPE_SIZE) in default_scalar_mode_supported_p() 277 if (precision == LONG_TYPE_SIZE) in default_scalar_mode_supported_p() 279 if (precision == LONG_LONG_TYPE_SIZE) in default_scalar_mode_supported_p() 281 if (precision == 2 * BITS_PER_WORD) in default_scalar_mode_supported_p() 286 if (precision == FLOAT_TYPE_SIZE) in default_scalar_mode_supported_p() 288 if (precision == DOUBLE_TYPE_SIZE) in default_scalar_mode_supported_p() 290 if (precision == LONG_DOUBLE_TYPE_SIZE) in default_scalar_mode_supported_p()
|
| HD | stor-layout.c | 1877 make_signed_type (int precision) in make_signed_type() argument 1881 TYPE_PRECISION (type) = precision; in make_signed_type() 1890 make_unsigned_type (int precision) in make_unsigned_type() argument 1894 TYPE_PRECISION (type) = precision; in make_unsigned_type() 1907 int precision = GET_MODE_BITSIZE (SImode); in initialize_sizetypes() local 1914 TYPE_SIZE (t) = build_int_cst (t, precision); in initialize_sizetypes() 1916 TYPE_PRECISION (t) = precision; in initialize_sizetypes() 1919 set_min_and_max_values_for_integral_type (t, precision, !signed_p); in initialize_sizetypes() 1939 int precision = MIN (MIN (oprecision + BITS_PER_UNIT_LOG + 1, in set_sizetype() local 1965 TYPE_PRECISION (t) = precision; in set_sizetype() [all …]
|
| HD | pretty-print.c | 377 int precision = 0; in pp_base_format() local 412 gcc_assert (precision < 2); in pp_base_format() 413 precision++; in pp_base_format() 419 gcc_assert (!wide || precision == 0); in pp_base_format() 436 (pp, *text->args_ptr, precision, int, "d"); in pp_base_format() 445 (pp, *text->args_ptr, precision, unsigned, "o"); in pp_base_format() 462 (pp, *text->args_ptr, precision, unsigned, "u"); in pp_base_format() 471 (pp, *text->args_ptr, precision, unsigned, "x"); in pp_base_format() 529 precision, wide, plus, hash); in pp_base_format()
|
| /trueos/contrib/jansson/test/bin/ |
| HD | json_process.c | 42 int precision; member 113 conf.precision = atoi(val); in read_conf() 202 if (conf.precision < 0 || conf.precision > 31) { in use_conf() 204 conf.precision); in use_conf() 208 if (conf.precision) in use_conf() 209 flags |= JSON_REAL_PRECISION(conf.precision); in use_conf() 260 int indent, precision; in use_env() local 292 precision = getenv_int("JSON_REAL_PRECISION"); in use_env() 293 if(precision < 0 || precision > 31) { in use_env() 295 precision); in use_env() [all …]
|
| /trueos/contrib/apr/strings/ |
| HD | apr_snprintf.c | 280 #define FIX_PRECISION(adjust, precision, s, s_len) \ argument 282 apr_size_t p = (precision + 1 < NUM_BUF_SIZE) \ 283 ? precision : NUM_BUF_SIZE - 1; \ 518 boolean_e add_dp, int precision, int *is_negative, in conv_fp() argument 527 p = apr_fcvt(num, precision, &decimal_point, is_negative, buf1); in conv_fp() 529 p = apr_ecvt(num, precision + 1, &decimal_point, is_negative, buf1); in conv_fp() 544 if (precision > 0) { in conv_fp() 555 if (precision > 0 || add_dp) in conv_fp() 561 if (precision > 0 || add_dp) in conv_fp() 696 apr_size_t precision = 0; in apr_vformatter() local [all …]
|
| /trueos/lib/libc/softfloat/templates/ |
| HD | softfloat-specialize | 68 The pattern for a default generated single-precision NaN. 75 Returns 1 if the single-precision floating-point value `a' is a NaN; 88 Returns 1 if the single-precision floating-point value `a' is a signaling 101 Returns the result of converting the single-precision floating-point NaN 121 precision floating-point format. 133 Takes two single-precision floating-point values `a' and `b', one of which 160 The pattern for a default generated double-precision NaN. 167 Returns 1 if the double-precision floating-point value `a' is a NaN; 180 Returns 1 if the double-precision floating-point value `a' is a signaling 195 Returns the result of converting the double-precision floating-point NaN [all …]
|
| /trueos/lib/libc/softfloat/ |
| HD | softfloat-specialize | 109 The pattern for a default generated single-precision NaN. 116 Returns 1 if the single-precision floating-point value `a' is a NaN; 132 Returns 1 if the single-precision floating-point value `a' is a signaling 149 Returns the result of converting the single-precision floating-point NaN 169 precision floating-point format. 181 Takes two single-precision floating-point values `a' and `b', one of which 208 The pattern for a default generated double-precision NaN. 215 Returns 1 if the double-precision floating-point value `a' is a NaN; 232 Returns 1 if the double-precision floating-point value `a' is a signaling 251 Returns the result of converting the double-precision floating-point NaN [all …]
|
| HD | timesoftfloat.txt | 15 mode, tininess mode, and/or rounding precision. 70 precision operations affected by rounding precision control, `timesoftfloat' 71 also times the function for all three rounding precision modes, one after 73 mode, a single tininess mode, and/or a single rounding precision with 89 operations, particularly for extended double precision (`floatx80') and 90 quadruple precision (`float128'). This is inherent to the remainder 109 For extended double-precision functions affected by rounding precision 111 in which rounding precision is equivalent to single precision. The other 112 rounding precision options are not timed. Likewise, the `-precision64' 113 and `-precision80' options fix the rounding precision equivalent to double [all …]
|
| HD | softfloat.txt | 15 formats are supported: single precision, double precision, extended double 16 precision, and quadruple precision. All operations required by the standard 34 Support for the extended double-precision and quadruple-precision formats 38 references in this document to the extended double precision, quadruple 39 precision, and 64-bit integers should be ignored. 87 file defines four types: `float32' (single precision), `float64' (double 88 precision), `floatx80' (extended double precision), and `float128' 89 (quadruple precision). The `float32' and `float64' types are defined in 147 For extended double precision (`floatx80') only, the rounding precision 154 operations are rounded (as usual) to the full precision of the extended [all …]
|
| /trueos/contrib/llvm/lib/Support/ |
| HD | APFloat.cpp | 55 unsigned int precision; member 634 unsigned bitsToPreserve = semantics->precision - 1; in makeNaN() 642 unsigned QNaNBit = semantics->precision - 2; in makeNaN() 690 semantics->precision - 1) == 0); in isDenormal() 713 PartCount*integerPartWidth - semantics->precision + 1; in isSignificandAllOnes() 735 PartCount*integerPartWidth - semantics->precision + 1; in isSignificandAllZeros() 783 exponent = ourSemantics.precision - 1; in APFloat() 822 return partCountForBits(semantics->precision + 1); in partCount() 828 return semantics.precision; in semanticsPrecision() 902 unsigned int partsCount, newPartsCount, precision; in multiplySignificand() local [all …]
|
| /trueos/tools/test/testfloat/ |
| HD | testfloat.txt | 15 be tested: single precision, double precision, extended double precision, 16 and/or quadruple precision. 135 For machines that implement extended double precision with rounding 136 precision control (such as Intel's 80x86), TestFloat can test the add, 138 rounding precisions. The rounding precision can be set equivalent to single 139 precision, to double precision, or to the full extended double precision. 140 Rounding precision control can only be applied to the extended double- 141 precision format and only for the five standard arithmetic operations: add, 143 only at full precision. 200 the nearest/even rounding mode is checked. For extended double-precision [all …]
|
| HD | testfloat-source.txt | 15 be tested: single precision, double precision, extended double precision, 16 and/or quadruple precision. Testing extended double-precision or quadruple- 17 precision formats requires a C compiler that supports 64-bit integer 61 power of 2. Bytes are 8 bits. Testing of extended double-precision and 62 quadruple-precision formats depends on the C compiler implementing a 64-bit 64 32 bits, only single- and double-precision operations can be tested. 242 the rounding precision for extended double precision. 303 as extended double precision, then `LONG_DOUBLE_IS_FLOATX80' should be 305 quadruple precision, `LONG_DOUBLE_IS_FLOAT128' should be defined. At most 341 precision; and likewise, none of the `float128' functions can be tested by [all …]
|
| /trueos/usr.bin/seq/ |
| HD | seq.c | 431 int precision, width1, width2, places; in generate_format() local 445 precision = decimal_places(buf); in generate_format() 453 precision = MAX(places, precision); in generate_format() 461 if (precision) { in generate_format() 464 precision, precision, (cc) ? cc : 'f'); in generate_format()
|
| /trueos/contrib/jansson/src/ |
| HD | strconv.c | 82 int jsonp_dtostr(char *buffer, size_t size, double value, int precision) in jsonp_dtostr() argument 88 if (precision == 0) in jsonp_dtostr() 89 precision = 17; in jsonp_dtostr() 91 ret = snprintf(buffer, size, "%.*g", precision, value); in jsonp_dtostr()
|
| /trueos/contrib/ntp/ntpd/ |
| HD | refclock_shm.c | 85 int precision; member 178 ((struct shmTime*)pp->unitptr)->precision=PRECISION; in shm_start() 179 peer->precision = ((struct shmTime*)pp->unitptr)->precision; in shm_start() 286 peer->precision=up->precision; in shm_poll()
|
| /trueos/usr.sbin/fifolog/ |
| HD | flint.lnt | 45 //-e713 // loss of precision sign/unsigned 47 //-e734 // loss of precision assignment 51 -e712 // Loss of precision (___) (___ to ___) 52 -e713 // Loss of precision (___) (___ to ___)
|
| /trueos/contrib/gdtoa/ |
| HD | README | 3 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 …]
|