| /freebsd-13.1/lib/libc/softfloat/ |
| H A D | timesoftfloat.txt | 14 point routines. Each routine can be evaluated for every relevant rounding 15 mode, tininess mode, and/or rounding precision. 64 the four rounding modes, one after the other. If the rounding mode is not 66 some operations do not require rounding--only the nearest/even rounding mode 69 tininess detected before rounding and after rounding. For extended double- 73 mode, a single tininess mode, and/or a single rounding precision with 109 For extended double-precision functions affected by rounding precision 115 ignored for functions not affected by rounding precision control. 121 the rounding mode is nearest/even. The other rounding mode options are not 122 timed. Likewise, `-tozero' forces rounding to zero; `-down' forces rounding [all …]
|
| H A D | softfloat.txt | 136 All four rounding modes prescribed by the IEC/IEEE Standard are implemented 137 for all operations that require rounding. The rounding mode is selected 140 `float_round_down', or `float_round_up'. The rounding mode is initialized 147 For extended double precision (`floatx80') only, the rounding precision 158 (`float64'), respectively. When rounding to reduced precision, additional 159 bits in the result significand beyond the rounding point are set to zero. 184 for underflow either before or after rounding. The choice is made by 187 Detecting tininess after rounding is better because it results in fewer 232 integer value, the operand is rounded according to the current rounding 277 remainder functions are always exact and so require no rounding. [all …]
|
| H A D | softfloat-history.txt | 45 detected before or after rounding.
|
| /freebsd-13.1/tools/test/testfloat/ |
| H A D | systemBugs.txt | 74 Errors found in floatx80_to_int32, rounding up: 100 Errors found in floatx80_to_int32, rounding up: 131 Errors found in floatx80_to_int32, rounding up: 161 Errors found in float32_mul, rounding down: 167 Errors found in float32_mul, rounding up: 184 Errors found in float64_mul, rounding down: 195 Errors found in float64_mul, rounding up: 216 Errors found in float32_mul, rounding down: 222 Errors found in float32_mul, rounding up: 239 Errors found in float64_mul, rounding down: [all …]
|
| H A D | testfloat.txt | 135 For machines that implement extended double precision with rounding 138 rounding precisions. The rounding precision can be set equivalent to single 203 to a single rounding mode and/or rounding precision with appropriate options 271 These conversions all round according to the current rounding mode as 280 rounding mode: 306 reduced precision under rounding precision control. 357 Obviously, no comparison functions ever require rounding. Any rounding mode 693 Only one rounding mode and/or rounding precision can be tested in a single 718 ignored for functions not affected by rounding precision control. 728 rounding mode is nearest/even. The other rounding mode options are not [all …]
|
| H A D | testfloat-source.txt | 203 function for all of the relevant rounding modes and rounding precisions. 218 <float>_to_int32 (rounded according to rounding mode) 219 <float>_to_int64 (rounded according to rounding mode) 241 controlling the system's floating-point, including the rounding mode and 242 the rounding precision for extended double precision. 330 <float>_to_int32 (rounded according to rounding mode) 331 <float>_to_int64 (rounded according to rounding mode)
|
| /freebsd-13.1/contrib/gdtoa/ |
| H A D | strtorf.c | 69 strtorf(s, sp, rounding, f) CONST char *s; char **sp; int rounding; float *f; in strtorf() argument 71 strtorf(CONST char *s, char **sp, int rounding, float *f) 81 if (rounding != FPI_Round_near) { 83 fpi1.rounding = rounding;
|
| H A D | strtord.c | 73 strtord_l(s, sp, rounding, d, locale) CONST char *s; char **sp; int rounding; in strtord_l() argument 76 strtord_l(CONST char *s, char **sp, int rounding, double *d, locale_t locale) 86 if (rounding != FPI_Round_near) { 88 fpi1.rounding = rounding;
|
| H A D | strtorxL.c | 88 strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; in strtorxL() argument 90 strtorxL(CONST char *s, char **sp, int rounding, void *L) 100 if (rounding != FPI_Round_near) { 102 fpi1.rounding = rounding;
|
| H A D | strtorQ.c | 106 strtorQ_l(s, sp, rounding, L, locale) CONST char *s; char **sp; int rounding; in strtorQ_l() argument 109 strtorQ_l(CONST char *s, char **sp, int rounding, void *L, locale_t locale) 119 if (rounding != FPI_Round_near) { 121 fpi1.rounding = rounding;
|
| H A D | strtorx.c | 109 strtorx_l(s, sp, rounding, L, locale) CONST char *s; char **sp; int rounding; in strtorx_l() argument 112 strtorx_l(CONST char *s, char **sp, int rounding, void *L, locale_t locale) 122 if (rounding != FPI_Round_near) { 124 fpi1.rounding = rounding;
|
| H A D | strtordd.c | 175 strtordd(s, sp, rounding, dd) CONST char *s; char **sp; int rounding; double *dd; in strtordd() argument 177 strtordd(CONST char *s, char **sp, int rounding, double *dd) 191 if (rounding != FPI_Round_near) { 193 fpi1.rounding = rounding;
|
| H A D | README | 21 http://cm.bell-labs.com/cm/cs/what/ampl/REFS/rounding.ps.gz 59 helper routines: one for round-nearest (or the current rounding 72 one with rounding direction specified: 127 the bottom of the exponent range. To get correct rounding, this 139 arithmetic with the default rounding mode (round-to-nearest) and, on 141 (53-bit) rounding precision. If the machine uses (the equivalent of) 150 rounding precision on systems (such as Intel IA32 systems) that may 151 suffer double rounding due to use of extended-precision registers. 198 rounding mode. 322 Field fpi->rounding indicates the desired rounding direction, with [all …]
|
| H A D | gethex.c | 157 switch(fpi->rounding) { 174 switch(fpi->rounding) { 269 switch (fpi->rounding) { 312 switch(fpi->rounding) {
|
| H A D | changes | 3 (fixed-point mode); fix rounding bug in these modes when the input 5 i.e., when the result, before rounding, would be empty but might 18 rounding, would be empty, but rounds to one digit: *decpt was low by 119 that caused one-bit rounding errors in certain denormal numbers, such 287 testbase program is unhappy with this new rounding, as it can 322 loop with a boundary case of directed rounding. Example input to 347 IEEE arithmetic (with 53-bit rounding precision on 80x87 chips). 429 With decimal input, strtod honors the rounding mode automatically. 469 -DHonor_FLT_ROUNDS: in rounding modes other than "to nearest", 474 rounding mode from fegetround() rather than FLT_ROUNDS, unless [all …]
|
| H A D | gdtoa_fltrnds.h | 17 fpi1.rounding = Rounding;
|
| H A D | printf.c0 | 89 int rounding; 93 enum { /* FPI.rounding values: same as FLT_ROUNDS */ 520 fpi1 = *fpb.fpi; fpi1.rounding = Rounding; fpb.fpi = &fpi1;} 527 fpi1 = *fpb.fpi; fpi1.rounding = Rounding; fpb.fpi = &fpi1;} 582 int rounding = fpi->rounding; 584 if (rounding > FPI_Round_near && b->sign) 585 rounding = FPI_Round_up + FPI_Round_down - rounding; 586 if (rounding == FPI_Round_down) 587 rounding = FPI_Round_zero; 593 switch(rounding) {
|
| H A D | gdtoa.h | 91 int rounding; member
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | fp_mul_impl.inc | 10 // rounding (to nearest, ties to even). 98 // The result is denormal before rounding. 112 // The result is normal before rounding. Insert the exponent. 120 // Perform the final rounding. The final result may overflow to infinity, 122 // We use the default IEEE-754 round-to-nearest, ties-to-even rounding mode.
|
| H A D | fp_add_impl.inc | 9 // This file implements soft-float addition with the IEEE-754 default rounding 93 // bottom bit to get rounding correct. 133 // The result is denormal before rounding. The exponent is zero and we 151 // Perform the final rounding. The result may overflow to infinity, but
|
| H A D | fp_trunc_impl.inc | 11 // rounding mode. The constants and types defined following the includes below 81 // rounding and adjusting the exponent.
|
| /freebsd-13.1/lib/libc/gdtoa/ |
| H A D | _ldtoa.c | 77 fpi.rounding ^= (fpi.rounding >> 1) & u.bits.sign; in __ldtoa()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | LeonFeatures.td | 50 "LEON3 erratum detection: Detects any rounding mode change " 51 "request: use only the round-to-nearest rounding mode"
|
| /freebsd-13.1/sys/mips/mips/ |
| H A D | fp.S | 1519 addu t2, t2, 1 # add rounding bit 1523 li v0, GUARDBIT # load guard bit for rounding 1742 addu t2, t2, 1 # add rounding bit 1748 li v0, GUARDBIT # load guard bit for rounding 1852 addu t2, t2, 1 # add rounding bit 1874 addu t2, t2, 1 # add rounding bit 1877 li v0, GUARDBIT # load guard bit for rounding 1988 addu t3, t3, 1 # add rounding bit 2106 addu t3, t3, 1 # add rounding bit 2142 addu t3, t3, 1 # add rounding bit [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfoF.td | 38 // Floating-point rounding mode 382 // float->int32 with current rounding mode. 388 // [u]int->float. Match GCC and default to using dynamic rounding mode. 410 // float->int64 with current rounding mode. 418 // [u]int->fp. Match GCC and default to using dynamic rounding mode.
|