| /trueos/lib/libutil/ |
| HD | humanize_number.c | 49 humanize_number(char *buf, size_t len, int64_t quotient, in humanize_number() argument 114 if (quotient < 0) { in humanize_number() 116 quotient = -quotient; in humanize_number() 145 (quotient >= max || (quotient == max - 1 && in humanize_number() 147 remainder = quotient % divisor; in humanize_number() 148 quotient /= divisor; in humanize_number() 155 remainder = quotient % divisor; in humanize_number() 156 quotient /= divisor; in humanize_number() 165 if (((quotient == 9 && remainder < divisordeccut) || quotient < 9) && in humanize_number() 167 s1 = (int)quotient + ((remainder * 10 + divisor / 2) / in humanize_number() [all …]
|
| /trueos/contrib/gcc/config/arm/ |
| HD | bpabi.c | 44 long long quotient; in __gnu_ldivmod_helper() local 46 quotient = __divdi3 (a, b); in __gnu_ldivmod_helper() 47 *remainder = a - b * quotient; in __gnu_ldivmod_helper() 48 return quotient; in __gnu_ldivmod_helper() 56 unsigned long long quotient; in __gnu_uldivmod_helper() local 58 quotient = __udivdi3 (a, b); in __gnu_uldivmod_helper() 59 *remainder = a - b * quotient; in __gnu_uldivmod_helper() 60 return quotient; in __gnu_uldivmod_helper()
|
| /trueos/contrib/compiler-rt/lib/ |
| HD | divdf3.c | 134 rep_t quotient, quotientLo; in ARM_EABI_FNALIAS() local 135 wideMultiply(aSignificand << 2, reciprocal, "ient, "ientLo); in ARM_EABI_FNALIAS() 151 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS() 152 residual = (aSignificand << 53) - quotient * bSignificand; in ARM_EABI_FNALIAS() 155 quotient >>= 1; in ARM_EABI_FNALIAS() 156 residual = (aSignificand << 52) - quotient * bSignificand; in ARM_EABI_FNALIAS() 175 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
|
| HD | divsf3.c | 120 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; in ARM_EABI_FNALIAS() local 136 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS() 137 residual = (aSignificand << 24) - quotient * bSignificand; in ARM_EABI_FNALIAS() 140 quotient >>= 1; in ARM_EABI_FNALIAS() 141 residual = (aSignificand << 23) - quotient * bSignificand; in ARM_EABI_FNALIAS() 160 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
|
| /trueos/contrib/compiler-rt/lib/sparc64/ |
| HD | divmod.m4 | 20 * Q -- the partial quotient under development -- initially 0 23 * be required. Equal to CEIL( lg2(quotient)/N ) 24 * Note that this is log_base_(2ˆN) of the quotient. 28 * CEIL( lg2(quotient) / N ) x ( 10 + 7N/2 ) + C 30 * different path, as the upper bits of the quotient must be developed 45 * This is the recursive definition of how we develop quotient digits. 48 * $2 -- the current accumulation of quotient bits 50 * We add a new bit to $2 and either recurse or insert the bits in the quotient. 53 * Q -- current quotient 83 ifelse( ANSWER, `quotient', ` [all …]
|
| HD | generate.sh | 4 m4 -DANSWER=quotient divmod.m4 | sed -e 's/[[:space:]]*$//' | grep -v '^$' > divsi3.S
|
| HD | divsi3.S | 71 ! Compute size of quotient, scale comparand. 330 mov %o2,%o0 ! quotient <- %o2
|
| HD | modsi3.S | 71 ! Compute size of quotient, scale comparand.
|
| /trueos/contrib/gcc/ |
| HD | expmed.c | 3820 rtx quotient = 0, remainder = 0; in expand_divmod() local 4035 quotient = expand_shift (RSHIFT_EXPR, compute_mode, op0, in expand_divmod() 4046 quotient = emit_store_flag (tquotient, GEU, op0, op1, in expand_divmod() 4048 if (quotient == 0) in expand_divmod() 4099 quotient = expand_shift in expand_divmod() 4124 quotient = expand_shift in expand_divmod() 4137 && SET_DEST (set) == quotient) in expand_divmod() 4158 quotient = op0; in expand_divmod() 4160 quotient = expand_unop (compute_mode, neg_optab, op0, in expand_divmod() 4165 quotient = emit_store_flag (tquotient, EQ, op0, op1, in expand_divmod() [all …]
|
| HD | tree.def | 617 /* Division for integer result that rounds the quotient toward zero. */ 620 /* Division for integer result that rounds the quotient toward infinity. */
|
| /trueos/sys/boot/ficl/ |
| HD | math64.c | 524 DPUNS quotient; in ficlLongDiv() local 528 quotient.lo = 0; in ficlLongDiv() 529 quotient.hi = 0; in ficlLongDiv() 549 quotient = m64Or(quotient, mask); in ficlLongDiv() 555 result.quot = quotient.lo; in ficlLongDiv()
|
| /trueos/contrib/gcc/config/ |
| HD | fp-bit.c | 975 fractype quotient; 1025 quotient = 0; 1031 quotient |= bit; 1038 if (!ROUND_TOWARDS_ZERO && (quotient & GARDMASK) == GARDMSB) 1040 if (quotient & (1 << NGARDS)) 1053 quotient += GARDROUND + 1; 1056 quotient &= ~(fractype) GARDMASK; 1060 a->fraction.ll = quotient;
|
| /trueos/crypto/openssl/doc/crypto/ |
| HD | BN_mod_mul_reciprocal.pod | 44 BN_div_recp() divides B<a> by B<m> using B<recp>. It places the quotient
|
| /trueos/contrib/gcc/doc/ |
| HD | libgcc.texi | 71 These functions return the quotient of the signed division of @var{a} and 103 These functions return the quotient of the unsigned division of @var{a} 109 These functions calculate both the quotient and remainder of the unsigned 110 division of @var{a} and @var{b}. The return value is the quotient, and 267 These functions return the quotient of @var{a} and @var{b}; that is, 489 These functions return the quotient of @math{@var{a} + i@var{b}} and 527 These functions return the quotient of @var{a} and @var{b}; that is,
|
| HD | rtl.texi | 1920 @cindex quotient 1922 Represents the quotient in signed division of @var{x} by @var{y}, 1924 mode, it represents the exact quotient; otherwise, the integerized 1925 quotient. 1928 quotient widths are not all the same; you should represent 1948 the quotient.
|
| /trueos/lib/libc/softfloat/bits32/ |
| HD | softfloat-macros | 480 Returns an approximation to the 32-bit integer quotient obtained by dividing 482 divisor `b' must be at least 2^31. If q is the exact quotient truncated 484 If the exact quotient q is larger than 32 bits, the maximum positive 32-bit
|
| /trueos/usr.bin/sed/tests/ |
| HD | math.sed | 239 # .[/%] numerator q quotient r remainder-divisor @stack
|
| /trueos/lib/libc/softfloat/bits64/ |
| HD | softfloat-macros | 555 Returns an approximation to the 64-bit integer quotient obtained by dividing 557 divisor `b' must be at least 2^63. If q is the exact quotient truncated 559 If the exact quotient q is larger than 64 bits, the maximum positive 64-bit
|
| /trueos/sys/dev/mrsas/ |
| HD | mrsas_fp.c | 182 int quotient; \ 183 quotient = ((u_int64_t) (dividend)) / (u_int32_t) (divisor); \ 184 quotient;})
|
| /trueos/contrib/gcc/config/sparc/ |
| HD | lb1spl.asm | 104 ! rewritten to only calculate the quotient.
|
| HD | lb1spc.asm | 147 ! Ready to divide. Compute size of quotient; scale comparand. 493 ! Ready to divide. Compute size of quotient; scale comparand.
|
| /trueos/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| HD | dt_consume.c | 231 dt_divide_128(uint64_t *dividend, uint64_t divisor, uint64_t *quotient) in dt_divide_128() argument 270 quotient[0] = result[0]; in dt_divide_128() 271 quotient[1] = result[1]; in dt_divide_128()
|
| /trueos/usr.sbin/bsnmpd/modules/snmp_bridge/ |
| HD | BRIDGE-MIB.txt | 130 floor = quotient [ignore remainder] 140 ceiling = quotient [if remainder is 0], or 141 quotient + 1 [if remainder is nonzero]
|
| /trueos/contrib/gdb/gdb/doc/ |
| HD | agentexpr.texi | 279 the top value, and push the quotient. If the divisor is zero, terminate 284 by the top value, and push the quotient. If the divisor is zero,
|
| /trueos/crypto/heimdal/lib/wind/ |
| HD | rfc3492.txt | 160 quotient of x divided by y, discarding the remainder, and (x mod y) 162 these operators only with nonnegative operands, so the quotient and
|