Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-14.2/contrib/unbound/compat/
H A Dsnprintf.c250 if(numw < precision) numw = precision; in print_num()
260 if(w < precision) in print_num()
272 if(numw < precision) numw = precision; in print_num()
519 precision); in print_num_f()
563 if(precision == 0) precision = 1; in print_num_g()
565 precision); in print_num_g()
684 precision = 1; in vsnprintf()
722 precision = 0; in vsnprintf()
726 if(precision < 0) in vsnprintf()
727 precision = 0; in vsnprintf()
[all …]
/freebsd-14.2/contrib/ldns/compat/
H A Dsnprintf.c249 if(numw < precision) numw = precision; in print_num()
259 if(w < precision) in print_num()
271 if(numw < precision) numw = precision; in print_num()
518 precision); in print_num_f()
562 if(precision == 0) precision = 1; in print_num_g()
564 precision); in print_num_g()
683 precision = 1; in vsnprintf()
721 precision = 0; in vsnprintf()
725 if(precision < 0) in vsnprintf()
726 precision = 0; in vsnprintf()
[all …]
/freebsd-14.2/contrib/ntp/libntp/
H A Dsnprintf.c573 int precision = -1; in rpl_vsnprintf() local
661 precision = 0; in rpl_vsnprintf()
668 precision = 10 * precision + ch; in rpl_vsnprintf()
677 precision = -1; in rpl_vsnprintf()
846 precision = 1; in rpl_vsnprintf()
940 precision = -1; in rpl_vsnprintf()
1126 precision = 6; in fmtflt()
1165 precision--; in fmtflt()
1187 precision = 38; in fmtflt()
1191 precision = 19; in fmtflt()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleV6.td197 // Single-precision FP Unary
227 // Single-precision FP ALU
230 // Double-precision FP ALU
239 // Single-precision FP MAC
242 // Double-precision FP MAC
251 // Single-precision FP DIV
254 // Double-precision FP DIV
257 // Single-precision FP SQRT
260 // Double-precision FP SQRT
275 // Single-precision FP Load
[all …]
H A DARMScheduleA8.td256 // Single-precision FP Unary
302 // Single-precision FP ALU
306 // Double-precision FP ALU
320 // Single-precision FP MAC
324 // Double-precision FP MAC
338 // Single-precision FP DIV
343 // Double-precision FP DIV
348 // Single-precision FP SQRT
353 // Double-precision FP SQRT
380 // Single-precision FP Load
[all …]
/freebsd-14.2/lib/libc/softfloat/templates/
H A Dsoftfloat-specialize67 The pattern for a default generated single-precision NaN.
74 Returns 1 if the single-precision floating-point value `a' is a NaN;
87 Returns 1 if the single-precision floating-point value `a' is a signaling
100 Returns the result of converting the single-precision floating-point NaN
120 precision floating-point format.
159 The pattern for a default generated double-precision NaN.
166 Returns 1 if the double-precision floating-point value `a' is a NaN;
214 precision floating-point format.
319 double-precision floating-point format.
389 Returns 1 if the quadruple-precision floating-point value `a' is a
[all …]
/freebsd-14.2/lib/libc/softfloat/
H A Dsoftfloat-specialize108 The pattern for a default generated single-precision NaN.
115 Returns 1 if the single-precision floating-point value `a' is a NaN;
148 Returns the result of converting the single-precision floating-point NaN
168 precision floating-point format.
207 The pattern for a default generated double-precision NaN.
214 Returns 1 if the double-precision floating-point value `a' is a NaN;
270 precision floating-point format.
314 The pattern for a default generated extended double-precision NaN. The
375 double-precision floating-point format.
445 Returns 1 if the quadruple-precision floating-point value `a' is a
[all …]
H A Dtimesoftfloat.txt14 mode, tininess mode, and/or rounding precision.
69 precision operations affected by rounding precision control, `timesoftfloat'
70 also times the function for all three rounding precision modes, one after
72 mode, a single tininess mode, and/or a single rounding precision with
88 operations, particularly for extended double precision (`floatx80') and
89 quadruple precision (`float128'). This is inherent to the remainder
108 For extended double-precision functions affected by rounding precision
110 in which rounding precision is equivalent to single precision. The other
111 rounding precision options are not timed. Likewise, the `-precision64'
113 precision or extended double precision, respectively. These options are
[all …]
H A Dsoftfloat.txt14 formats are supported: single precision, double precision, extended double
15 precision, and quadruple precision. All operations required by the standard
33 Support for the extended double-precision and quadruple-precision formats
37 references in this document to the extended double precision, quadruple
38 precision, and 64-bit integers should be ignored.
87 precision), `floatx80' (extended double precision), and `float128'
88 (quadruple precision). The `float32' and `float64' types are defined in
146 For extended double precision (`floatx80') only, the rounding precision
153 operations are rounded (as usual) to the full precision of the extended
154 double-precision format. Setting `floatx80_rounding_precision' to 32
[all …]
/freebsd-14.2/contrib/ntp/ntpsnmpd/
H A DntpSnmpSubagentObject.c427 int precision; in get_ntpEntTimeResolution() local
436 if (1 != sscanf(ntpvalue, "%d", &precision)) in get_ntpEntTimeResolution()
438 if (precision >= 0) in get_ntpEntTimeResolution()
440 precision = max(precision, -31); in get_ntpEntTimeResolution()
441 resolution = 1 << -precision; in get_ntpEntTimeResolution()
470 int precision; in get_ntpEntTimePrecision() local
479 if (1 != sscanf(ntpvalue, "%d", &precision)) in get_ntpEntTimePrecision()
481 precision32 = (int32)precision; in get_ntpEntTimePrecision()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp110 unsigned int precision; member
123 precision <= S.precision; in isRepresentableBy()
328 return Dst.precision >= Src.precision; in isRepresentableAsNormalIn()
1224 precision = semantics->precision; in multiplySignificand()
1378 unsigned int precision = semantics->precision; in divideSignificand() local
2452 shift = toSemantics.precision - fromSemantics.precision; in convert()
2741 precision = semantics->precision; in convertFromUnsignedParts()
2749 APInt::tcExtract(dst, dstCount, src, precision, omsb - precision); in convertFromUnsignedParts()
2934 excessPrecision = calcSemantics.precision - semantics->precision; in roundSignificandWithExponent()
4124 unsigned precision = semantics->precision + (137 * texp + 136) / 59; in toString() local
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h51 using precision = duration<typename __CommonType::rep, ratio<1, __pow10(fractional_width)>>; variable
60 … __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} in hh_mm_ss()
66 _LIBCPP_HIDE_FROM_ABI constexpr precision subseconds() const noexcept { return __f_; } in subseconds()
68 _LIBCPP_HIDE_FROM_ABI constexpr precision to_duration() const noexcept { in to_duration()
73 …_LIBCPP_HIDE_FROM_ABI constexpr explicit operator precision() const noexcept { return to_duration(… in precision() function
80 precision __f_;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DOptionalDiagnostic.h57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics()); variable
58 precision = (precision * 59 + 195) / 196;
60 F.toString(Buffer, precision);
/freebsd-14.2/contrib/ncurses/form/
H A Dfty_num.c60 int precision; member
69 int precision; member
96 argn->precision = args->precision; in Generic_This_Type()
123 arg.precision = va_arg(*ap, int); in Make_This_Type()
188 int prec = argn->precision; in Check_This_Field()
H A Dfty_int.c50 int precision; member
58 int precision; member
104 arg.precision = va_arg(*ap, int); in Make_This_Type()
170 int prec = argi->precision; in Check_This_Field()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp84 auto &precision = FS.getPrecision(); in HandlePrintfSpecifier() local
85 switch (precision.getHowSpecified()) { in HandlePrintfSpecifier()
89 ArgsData.back().Size = precision.getConstantAmount(); in HandlePrintfSpecifier()
92 ArgsData.back().Count = Args[precision.getArgIndex()]; in HandlePrintfSpecifier()
100 auto &precision = FS.getPrecision(); in HandlePrintfSpecifier() local
101 switch (precision.getHowSpecified()) { in HandlePrintfSpecifier()
105 ArgsData.back().Size = precision.getConstantAmount(); in HandlePrintfSpecifier()
108 ArgsData.back().Count = Args[precision.getArgIndex()]; in HandlePrintfSpecifier()
/freebsd-14.2/contrib/ntp/sntp/tests/
H A DpacketHandling.c141 double offset, precision, synch_distance; in test_OffsetCalculationPositiveOffset() local
143 rpkt.precision = -16; /* 0,000015259 */ in test_OffsetCalculationPositiveOffset()
172 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance); in test_OffsetCalculationPositiveOffset()
175 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(16), precision); in test_OffsetCalculationPositiveOffset()
187 double offset, precision, synch_distance; in test_OffsetCalculationNegativeOffset() local
189 rpkt.precision = -1; in test_OffsetCalculationNegativeOffset()
219 offset_calculation(&rpkt, LEN_PKT_NOMAC, &dst, &offset, &precision, &synch_distance); in test_OffsetCalculationNegativeOffset()
222 TEST_ASSERT_EQUAL_DOUBLE(1. / ULOGTOD(1), precision); in test_OffsetCalculationNegativeOffset()
/freebsd-14.2/usr.bin/seq/
H A Dseq.c463 int precision, width1, width2, places; in generate_format() local
477 precision = decimal_places(buf); in generate_format()
485 precision = MAX(places, precision); in generate_format()
493 if (precision) { in generate_format()
496 precision, precision, (cc) ? cc : 'f'); in generate_format()
/freebsd-14.2/sys/contrib/openzfs/.github/
H A Dcodecov.yml7 precision: 0 # 0 decimals of precision
8 round: nearest # Round to nearest precision point
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfp_trunc.h49 #error Source should be double precision or quad precision!
108 #error Destination should be single precision or double precision!
/freebsd-14.2/contrib/ntp/ntpd/
H A Drefclock_shm.c102 int precision; member
239 up->shm->precision = PRECISION; in shm_start()
240 peer->precision = up->shm->precision; in shm_start()
371 int precision; member
506 shm_stat->precision = shmcopy.precision; in shm_query()
636 peer->precision = shm_stat.precision; in shm_timer()
/freebsd-14.2/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
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
96 illustrates one way to do this for IEEE binary double-precision
140 systems with IEEE extended-precision registers, double-precision
[all …]
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c48 nstosbt(hrtimer->expires), nstosbt(hrtimer->precision), 0); in hrtimer_call_handler()
128 hrtimer->precision = nsec; in linux_hrtimer_start_range_ns()
140 nstosbt(hrtimer->precision), hrtimer_call_handler, hrtimer, 0); in linux_hrtimer_forward_now()
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_prf.c239 size_t precision, width, delim_len; in bhnd_nvram_val_vprintf() local
254 precision = 1; in bhnd_nvram_val_vprintf()
407 precision = arg; in bhnd_nvram_val_vprintf()
410 precision = 0; in bhnd_nvram_val_vprintf()
424 precision = v; in bhnd_nvram_val_vprintf()
638 width = precision; in bhnd_nvram_val_vprintf()
673 if (have_precision && precision == 0 && in bhnd_nvram_val_vprintf()
/freebsd-14.2/contrib/file/tests/
H A Djson2.testfile3 "precision": "zip",
13 "precision": "zip",

12345678910>>...13