| /netbsd-src/external/lgpl3/mpc/dist/tests/ |
| H A D | pow_fr.dat | 24 # (-0 -0.75)^4 = (0.31640625 -0) is rounded to (0.375 -0) 27 # (+0 -0.75)^4 = (0.31640625 +0) is rounded to (0.375 +0) 30 # (-0 0.75)^5 = (0.31640625 +0) is rounded to (0.375 +0) 33 # (+0 0.75)^5 = (0.31640625 -0) is rounded to (0.375 -0) 37 # (-0 -0.75)^5 = (-0 -0.2373046875) is rounded to (-0 -0.25) 40 # (+0 -0.75)^5 = (+0 -0.2373046875) is rounded to (+0 -0.25) 43 # (-0 0.75)^5 = (-0 0.2373046875) is rounded to (-0 0.25) 46 # (+0 0.75)^5 = (+0 0.2373046875) is rounded to (+0 0.25) 50 # (-0 -0.75)^6 = (-0.177978515625 +0) is rounded to (-0.1875 +0) 53 # (+0 -0.75)^6 = (-0.177978515625 -0) is rounded to (-0.1875 -0) [all …]
|
| H A D | atanh.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(atan op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(atan op) rounded to the precision PREC_ROP_IM
|
| H A D | asinh.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(asin op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(asin op) rounded to the precision PREC_ROP_IM
|
| H A D | acosh.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(acos op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(acos op) rounded to the precision PREC_ROP_IM
|
| H A D | acos.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(acos op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(acos op) rounded to the precision PREC_ROP_IM
|
| H A D | asin.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(asin op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(asin op) rounded to the precision PREC_ROP_IM
|
| H A D | atan.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(atan op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(atan op) rounded to the precision PREC_ROP_IM
|
| H A D | abs.dat | 26 # rop is ROP rounded to nearest to the precision of PREC_ROP 27 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 28 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 29 # ROP is checked against abs(op) rounded to the precision PREC_ROP
|
| H A D | sin.dat | 26 # rop_re is ROP_RE rounded to nearest to the precision of PREC_ROP_RE 27 # rop_im is ROP_IM rounded to nearest to the precision of PREC_ROP_IM 28 # op_re is OP_RE rounded to nearest to the precision of PREC_OP_RE 29 # op_im is OP_IM rounded to nearest to the precision of PREC_OP_IM 30 # ROP_RE is checked against Re(sin op) rounded to the precision PREC_ROP_RE 32 # ROP_IM is checked against Im(sin op) rounded to the precision PREC_ROP_IM
|
| H A D | pow_z.dat | 27 # rounding to nearest when needed, for instance: rop_re is ROP_RE rounded to 29 # ROP_RE is checked against Re(op1^op2) rounded to the precision PREC_ROP_RE 31 # ROP_IM is checked against Im(op1^op2) rounded to the precision PREC_ROP_IM
|
| H A D | add_fr.dat | 27 # rounding to nearest when needed, for instance: rop_re is ROP_RE rounded to 29 # ROP_RE is checked against Re(op1 + op2) rounded to the precision PREC_ROP_RE 31 # ROP_IM is checked against Im(op1) rounded to the precision PREC_ROP_IM
|
| H A D | add.dat | 27 # rounding to nearest when needed, for instance: rop_re is ROP_RE rounded to 29 # ROP_RE is checked against Re(op1 + op2) rounded to the precision PREC_ROP_RE 31 # ROP_IM is checked against Im(op1 + op2) rounded to the precision PREC_ROP_IM
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
| H A D | region.d | 130 const rounded = n.roundUpToAlignment(alignment); in allocate() local 132 alias rounded = n; in allocate() local 133 assert(available >= rounded); in allocate() 134 auto result = (_current - rounded)[0 .. n]; in allocate() 144 const rounded = n.roundUpToAlignment(alignment); in allocate() local 146 alias rounded = n; in allocate() local 147 _current += rounded; in allocate() 150 _current -= rounded; in allocate() 628 const rounded = bytes.roundUpToMultipleOf(alignment); in allocate() local 630 alias rounded = bytes; in allocate() local [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
| H A D | region.d | 159 const rounded = goodAllocSize(n); in allocate() local 160 if (n == 0 || rounded < n || available < rounded) return null; in allocate() 164 assert(available >= rounded); in allocate() 165 auto result = (_current - rounded)[0 .. n]; in allocate() 173 _current += rounded; in allocate() 194 const rounded = goodAllocSize(n); in alignedAllocate() local 195 if (n == 0 || rounded < n || available < rounded) return null; in alignedAllocate() 199 auto tmpCurrent = _current - rounded; in alignedAllocate() 285 auto rounded = goodAllocSize(b.length); in deallocate() local 290 _current += rounded; in deallocate() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/ |
| H A D | bid64_string.c | 252 UINT64 sign_x, coefficient_x = 0, rounded = 0, res; local 437 rounded = 1; 447 rounded = 1; 505 get_BID64_UF (sign_x, expon_x, coefficient_x, rounded, rnd_mode,
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/ |
| H A D | bid64_string.c | 252 UINT64 sign_x, coefficient_x = 0, rounded = 0, res; local 437 rounded = 1; 447 rounded = 1; 505 get_BID64_UF (sign_x, expon_x, coefficient_x, rounded, rnd_mode,
|
| /netbsd-src/external/lgpl3/mpc/dist/doc/ |
| H A D | mpc.texi | 422 on the sign of the number to be rounded). 429 the number to be rounded lies exactly in the middle of two representable 430 numbers, it is rounded to the one with the least significant bit set to zero. 431 For example, the number 5, which is represented by (101) in binary, is rounded 439 to indicate the position of the rounded real and imaginary parts with respect 442 @code{MPC_INEX_IM(i)} give 0 if the corresponding rounded value is exact, 443 a negative value if the rounded value is less than the exact one, 447 whether the rounded value is the same, larger or smaller then 586 Set the value of @var{rop} from @var{op}, rounded to the precision of @var{rop} 602 Set the value of @var{rop} from @var{op}, rounded to the precision of [all …]
|
| H A D | mpc.info | 338 rounded). The first letter refers to the rounding mode for the real 344 case the number to be rounded lies exactly in the middle of two 345 representable numbers, it is rounded to the one with the least 347 represented by (101) in binary, is rounded to (100)=4 with a precision 354 to indicate the position of the rounded real and imaginary parts with 357 corresponding rounded value is exact, a negative value if the rounded 361 whether the rounded value is the same, larger or smaller then the exact 494 Set the value of ROP from OP, rounded to the precision of ROP with 512 Set the value of ROP from OP, rounded to the precision of ROP with 515 sign. Please note that even a ‘long int’ may have to be rounded, [all …]
|
| /netbsd-src/sys/arch/m68k/fpsp/ |
| H A D | sint.sa | 36 * The entry point sINT computes the rounded integer 38 * the integer rounded to zero of the input argument. 69 * 4. Normalize the rounded result; store in fp0. 251 * ;output a0 ptr to rounded result 255 * normalize the rounded result and store value in fp0
|
| H A D | x_unfl.sa | 44 * format. After denormalization, the result is rounded to the 232 * Output: a0 points to rounded operand 235 bsr.l round ;returns rounded denorm at (a0) 251 tst.b LOCAL_HI(a0) ;If rounded result is normal,don't
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/ |
| H A D | winnt.c | 540 HOST_WIDE_INT rounded; in i386_pe_asm_output_aligned_decl_common() local 547 rounded = size ? size : 1; in i386_pe_asm_output_aligned_decl_common() 548 rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1; in i386_pe_asm_output_aligned_decl_common() 549 rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT) in i386_pe_asm_output_aligned_decl_common() 562 " " HOST_WIDE_INT_PRINT_DEC "\n", rounded, size); in i386_pe_asm_output_aligned_decl_common()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/ |
| H A D | winnt.cc | 539 HOST_WIDE_INT rounded; in i386_pe_asm_output_aligned_decl_common() local 546 rounded = size ? size : 1; in i386_pe_asm_output_aligned_decl_common() 547 rounded += (BIGGEST_ALIGNMENT / BITS_PER_UNIT) - 1; in i386_pe_asm_output_aligned_decl_common() 548 rounded = (rounded / (BIGGEST_ALIGNMENT / BITS_PER_UNIT) in i386_pe_asm_output_aligned_decl_common() 561 " " HOST_WIDE_INT_PRINT_DEC "\n", rounded, size); in i386_pe_asm_output_aligned_decl_common()
|
| /netbsd-src/external/lgpl3/mpfr/dist/doc/ |
| H A D | mpfr.info | 560 standard: in case the number to be rounded lies exactly in the middle 561 between two consecutive representable numbers, it is rounded to the one 564 by (10.1) in binary, is rounded to (10.0) = 2 with a precision of two 571 significands associated with the exponent of the number to be rounded. 576 rounded to 100, not to 90. 578 For the “directed rounding modes”, a number X is rounded to the 603 correctly rounded, i.e., MPFR behaves as if it computed the result with 604 an infinite precision, then rounded it to the precision of this 608 As a consequence, in case of a non-zero real rounded result, the 652 the result is rounded as described in *note Rounding:: (but see below [all …]
|
| H A D | mpfr.texi | 908 IEEE@tie{}754 standard: in case the number to be rounded lies exactly 910 rounded to the one with an even significand; in radix 2, this means 912 which is represented by (10.1) in binary, is rounded to @tm{(10.0) = 2} 919 associated with the exponent of the number to be rounded. For instance, 923 10 is the even significand, so that 95 will be rounded to 100, not to 90. 932 For the @dfn{directed rounding modes}, a number @var{x} is rounded to 969 correctly rounded, i.e., MPFR behaves as if it computed the result with 970 an infinite precision, then rounded it to the precision of this variable. 974 As a consequence, in case of a non-zero real rounded result, the error 980 @c the rounded result, not the one of the exact result, for full generality. [all …]
|
| /netbsd-src/lib/libc/softfloat/ |
| H A D | softfloat.txt | 153 operations are rounded (as usual) to the full precision of the extended 155 or to 64 causes the operations listed to be rounded to reduced precision 225 the source value cannot be rounded to a representable integer of the desired 231 integer value, the operand is rounded according to the current rounding 233 languages) require that conversions to integers be rounded toward zero, the 296 is rounded to an exact integer according to the current rounding mode, and
|