| /netbsd-src/lib/libc/softfloat/ |
| H A D | timesoftfloat.txt | 13 point routines. Each routine can be evaluated for every relevant rounding 14 mode, tininess mode, and/or rounding precision. 63 the four rounding modes, one after the other. If the rounding mode is not 65 some operations do not require rounding--only the nearest/even rounding mode 68 tininess detected before rounding and after rounding. For extended double- 69 precision operations affected by rounding precision control, `timesoftfloat' 70 also times the function for all three rounding precision modes, one after 71 the other. Evaluation of a function can be limited to a single rounding 72 mode, a single tininess mode, and/or a single rounding precision with 108 For extended double-precision functions affected by rounding precision [all …]
|
| /netbsd-src/external/lgpl3/mpfr/dist/src/ |
| H A D | add1.c | 201 goto rounding; in mpfr_add1() 223 goto rounding; in mpfr_add1() 245 goto rounding; in mpfr_add1() 264 goto rounding; in mpfr_add1() 275 goto rounding; in mpfr_add1() 282 goto rounding; in mpfr_add1() 344 goto rounding; in mpfr_add1() 351 goto rounding; in mpfr_add1() 380 goto rounding; in mpfr_add1() 397 goto rounding; in mpfr_add1() [all …]
|
| /netbsd-src/regress/lib/libc/ieeefp/testfloat/notes/ |
| H A D | systemBugs.txt | 54 Errors found in floatx80_to_int32, rounding nearest_even: 60 Errors found in floatx80_to_int32, rounding to_zero: 67 Errors found in floatx80_to_int32, rounding down: 74 Errors found in floatx80_to_int32, rounding up: 87 zero when the rounding mode is nearest/even or up. 89 Errors found in floatx80_to_int32, rounding nearest_even: 100 Errors found in floatx80_to_int32, rounding up: 126 Errors found in floatx80_to_int32, rounding nearest_even: 129 Errors found in floatx80_to_int32, rounding to_zero: 131 Errors found in floatx80_to_int32, rounding up: [all …]
|
| H A D | testfloat.txt | 106 plus the rounding of adds, subtracts, multiplies, and simple operations like 113 TestFloat is not remarkably good at testing difficult rounding cases for 128 For each operation, TestFloat can test all four rounding modes required 135 For machines that implement extended double precision with rounding 138 rounding precisions. The rounding precision can be set equivalent to single 197 TestFloat will ordinarily test a function for all four rounding modes, one 198 after the other. If the rounding mode is not supposed to have any affect 199 on the results--for instance, some operations do not require rounding--only 200 the nearest/even rounding mode is checked. For extended double-precision 201 operations affected by rounding precision control, TestFloat also tests all [all …]
|
| /netbsd-src/lib/libc/gdtoa/ |
| H A D | strtorf.c | 71 strtorf(s, sp, rounding, f) CONST char *s; char **sp; int rounding; float *f; in strtorf() argument 73 strtorf(CONST char *s, char **sp, int rounding, float *f) 84 if (rounding != FPI_Round_near) { 86 fpi1.rounding = rounding;
|
| H A D | strtorxL.c | 90 strtorxL(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; in strtorxL() argument 92 strtorxL(CONST char *s, char **sp, int rounding, void *L) 103 if (rounding != FPI_Round_near) { 105 fpi1.rounding = rounding;
|
| H A D | strtorx.c | 102 strtorx(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; in strtorx() argument 104 strtorx(CONST char *s, char **sp, int rounding, void *L) 115 if (rounding != FPI_Round_near) { 117 fpi1.rounding = rounding;
|
| H A D | strtorQ.c | 99 strtorQ(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; in strtorQ() argument 101 strtorQ(CONST char *s, char **sp, int rounding, void *L) 112 if (rounding != FPI_Round_near) { 114 fpi1.rounding = rounding;
|
| H A D | strtordd.c | 177 strtordd(s, sp, rounding, dd) CONST char *s; char **sp; int rounding; double *dd; in strtordd() argument 179 strtordd(CONST char *s, char **sp, int rounding, double *dd) 194 if (rounding != FPI_Round_near) { 196 fpi1.rounding = rounding;
|
| H A D | strtord.c | 76 strtord(CONST char *s, char **sp, int rounding, double *d, locale_t loc) in strtord() argument 86 if (rounding != FPI_Round_near) { in strtord() 88 fpi1.rounding = rounding; in strtord()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | format_tv.in | 1 # Three digits in, 2/6 digits out, rounding down. 25 # Three digits in, 2/6 digits out, rounding up. 35 # Three digits in, 1/6 digits out, rounding down. 60 # Three digits in, 1/6 digits out, rounding up.
|
| H A D | format_tv.ref | 1 >> # Three digits in, 2/6 digits out, rounding down. 44 >> # Three digits in, 2/6 digits out, rounding up. 61 >> # Three digits in, 1/6 digits out, rounding down. 105 >> # Three digits in, 1/6 digits out, rounding up.
|
| /netbsd-src/external/lgpl3/mpc/dist/tests/ |
| H A D | pow_z.dat | 27 # rounding to nearest when needed, for instance: rop_re is ROP_RE rounded to 39 # rounding modes notation: 40 # "N" is rounding to nearest 41 # "Z" is rounding towards zero 42 # "U" is rounding towards plus infinity 43 # "D" is rounding towards minus infinity
|
| H A D | abs.dat | 36 # rounding modes notation: 37 # "N" is rounding to nearest 38 # "Z" is rounding towards zero 39 # "U" is rounding towards plus infinity 40 # "D" is rounding towards minus infinity
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/math/ |
| H A D | hardware.d | 607 @property void rounding(RoundingMode newMode) @trusted 614 @property static RoundingMode rounding() @trusted pure 1106 import std.math.rounding : lrint; 1110 fpctrl.rounding = FloatingPointControl.roundDown; 1113 fpctrl.rounding = FloatingPointControl.roundUp; 1116 fpctrl.rounding = FloatingPointControl.roundToNearest; 1124 assert(FloatingPointControl.rounding 1137 ctrl.rounding = FloatingPointControl.roundDown; 1138 assert(FloatingPointControl.rounding == FloatingPointControl.roundDown); 1151 ctrl.rounding = FloatingPointControl.roundUp; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libdecnumber/ |
| H A D | decContext.h | 69 enum rounding { enum 86 enum rounding round; /* rounding mode */ 254 extern enum rounding decContextGetRounding(decContext *); 258 extern decContext * decContextSetRounding(decContext *, enum rounding);
|
| H A D | decDouble.h | 85 extern int32_t decDoubleToInt32(const decDouble *, decContext *, enum rounding); 86 extern int32_t decDoubleToInt32Exact(const decDouble *, decContext *, enum rounding); 89 extern uint32_t decDoubleToUInt32(const decDouble *, decContext *, enum rounding); 90 extern uint32_t decDoubleToUInt32Exact(const decDouble *, decContext *, enum rounding); 122 … decDouble * decDoubleToIntegralValue(decDouble *, const decDouble *, decContext *, enum rounding);
|
| /netbsd-src/external/gpl3/gcc.old/dist/libdecnumber/ |
| H A D | decContext.h | 69 enum rounding { enum 86 enum rounding round; /* rounding mode */ 254 extern enum rounding decContextGetRounding(decContext *); 258 extern decContext * decContextSetRounding(decContext *, enum rounding);
|
| H A D | decDouble.h | 85 extern int32_t decDoubleToInt32(const decDouble *, decContext *, enum rounding); 86 extern int32_t decDoubleToInt32Exact(const decDouble *, decContext *, enum rounding); 89 extern uint32_t decDoubleToUInt32(const decDouble *, decContext *, enum rounding); 90 extern uint32_t decDoubleToUInt32Exact(const decDouble *, decContext *, enum rounding); 122 … decDouble * decDoubleToIntegralValue(decDouble *, const decDouble *, decContext *, enum rounding);
|
| H A D | decQuad.h | 108 extern int32_t decQuadToInt32(const decQuad *, decContext *, enum rounding); 109 extern int32_t decQuadToInt32Exact(const decQuad *, decContext *, enum rounding); 112 extern uint32_t decQuadToUInt32(const decQuad *, decContext *, enum rounding); 113 extern uint32_t decQuadToUInt32Exact(const decQuad *, decContext *, enum rounding); 144 extern decQuad * decQuadToIntegralValue(decQuad *, const decQuad *, decContext *, enum rounding);
|
| /netbsd-src/external/gpl3/gdb/dist/libdecnumber/ |
| H A D | decContext.h | 69 enum rounding { enum 86 enum rounding round; /* rounding mode */ 254 extern enum rounding decContextGetRounding(decContext *); 258 extern decContext * decContextSetRounding(decContext *, enum rounding);
|
| H A D | decDouble.h | 85 extern int32_t decDoubleToInt32(const decDouble *, decContext *, enum rounding); 86 extern int32_t decDoubleToInt32Exact(const decDouble *, decContext *, enum rounding); 89 extern uint32_t decDoubleToUInt32(const decDouble *, decContext *, enum rounding); 90 extern uint32_t decDoubleToUInt32Exact(const decDouble *, decContext *, enum rounding); 122 … decDouble * decDoubleToIntegralValue(decDouble *, const decDouble *, decContext *, enum rounding);
|
| /netbsd-src/external/gpl3/gdb.old/dist/libdecnumber/ |
| H A D | decContext.h | 69 enum rounding { enum 86 enum rounding round; /* rounding mode */ 254 extern enum rounding decContextGetRounding(decContext *); 258 extern decContext * decContextSetRounding(decContext *, enum rounding);
|
| H A D | decDouble.h | 85 extern int32_t decDoubleToInt32(const decDouble *, decContext *, enum rounding); 86 extern int32_t decDoubleToInt32Exact(const decDouble *, decContext *, enum rounding); 89 extern uint32_t decDoubleToUInt32(const decDouble *, decContext *, enum rounding); 90 extern uint32_t decDoubleToUInt32Exact(const decDouble *, decContext *, enum rounding); 122 … decDouble * decDoubleToIntegralValue(decDouble *, const decDouble *, decContext *, enum rounding);
|
| H A D | decQuad.h | 108 extern int32_t decQuadToInt32(const decQuad *, decContext *, enum rounding); 109 extern int32_t decQuadToInt32Exact(const decQuad *, decContext *, enum rounding); 112 extern uint32_t decQuadToUInt32(const decQuad *, decContext *, enum rounding); 113 extern uint32_t decQuadToUInt32Exact(const decQuad *, decContext *, enum rounding); 144 extern decQuad * decQuadToIntegralValue(decQuad *, const decQuad *, decContext *, enum rounding);
|