Searched refs:remainder (Results 1 - 25 of 133) sorted by relevance

123456

/openbsd-current/lib/libm/arch/hppa/
H A De_remainder.c8 remainder(double x, double p) function
14 DEF_STD(remainder); variable
15 LDBL_UNUSED_CLONE(remainder); variable
/openbsd-current/lib/libm/arch/amd64/
H A De_remainder.S11 ENTRY(remainder)
12 RETGUARD_SETUP(remainder, r11)
22 RETGUARD_CHECK(remainder, r11)
24 END_STD(remainder)
/openbsd-current/gnu/gcc/gcc/config/arm/
H A Dbpabi.c42 long long *remainder)
47 *remainder = a - b * quotient;
54 unsigned long long *remainder)
59 *remainder = a - b * quotient;
40 __gnu_ldivmod_helper(long long a, long long b, long long *remainder) argument
52 __gnu_uldivmod_helper(unsigned long long a, unsigned long long b, unsigned long long *remainder) argument
/openbsd-current/lib/libm/src/
H A Dw_drem.c2 * drem() wrapper for remainder().
13 return remainder(x, y);
H A De_remainder.c13 /* remainder(x,p)
31 remainder(double x, double p) function
71 DEF_STD(remainder); variable
72 LDBL_MAYBE_UNUSED_CLONE(remainder); variable
/openbsd-current/lib/libc/sys/
H A Dw_nanosleep.c22 nanosleep(const struct timespec *timeout, struct timespec *remainder) argument
27 ret = HIDDEN(nanosleep)(timeout, remainder);
/openbsd-current/lib/libm/arch/i387/
H A De_remainder.S9 ENTRY(remainder)
18 END_STD(remainder)
/openbsd-current/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/Adapter/
H A DIdentity.pm47 my $remainder = '';
75 $remainder = substr($$in, $ind) ;
80 if (length $remainder && length $remainder < $self->{DataHdrSize}) {
81 $self->{Pending} = $remainder ;
82 $remainder = '';
84 elsif (length $remainder >= $self->{DataHdrSize}) {
85 my $crc = unpack "V", substr($remainder, 4);
90 $l1 = U64::newUnpack_V64(substr($remainder, 8));
91 $l2 = U64::newUnpack_V64(substr($remainder, 1
[all...]
/openbsd-current/regress/sys/kern/nanosleep/
H A Dnanosleep.c71 struct timespec timeout, remainder; local
75 remainder.tv_sec = 4711; /* Just add to the confusion */
76 remainder.tv_nsec = 4711;
77 if (nanosleep(&timeout, &remainder) < 0) {
87 if (remainder.tv_sec != 0 || remainder.tv_nsec != 0) {
89 (long long)remainder.tv_sec, remainder.tv_nsec);
99 struct timespec timeout, remainder; local
122 remainder
180 struct timespec timeout, remainder; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h129 unsigned int remainder; local
134 remainder = num % multiple;
136 if (remainder == 0)
140 return (num + multiple - remainder);
142 return (num - remainder);
/openbsd-current/gnu/gcc/gcc/config/sparc/
H A Dlb1spc.asm84 * Division and remainder, from Appendix E of the SPARC Version 8
105 * R the remainder so far, initially the dividend
254 ! remainder is positive
259 ! remainder is positive
264 ! remainder is positive
269 ! remainder is positive
275 ! remainder is negative
282 ! remainder is negative
287 ! remainder is positive
293 ! remainder i
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/config/sparc/
H A Dlb1spc.asm84 * Division and remainder, from Appendix E of the SPARC Version 8
105 * R the remainder so far, initially the dividend
254 ! remainder is positive
259 ! remainder is positive
264 ! remainder is positive
269 ! remainder is positive
275 ! remainder is negative
282 ! remainder is negative
287 ! remainder is positive
293 ! remainder i
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/avr/
H A Ddivmodhi4.S12 // The sint16 quotient is returned via R23:R22, and the sint16 remainder is
49 ret ; Return quotient via R23:R22 and remainder via R25:R24.
57 ret ; Return quotient via R23:R22 and remainder via R25:r24.
H A Dudivmodqi4.S12 // The uint8 quotient is returned via R24, and the uint8 remainder is returned
24 sub r25, r25 ; Initialize the remainder to zero.
39 ret ; The uint8 remainder is returned via R25.
H A Ddivmodqi4.S12 // The sint8 quotient is returned via R24, and the sint8 remainder is returned
44 ret ; Return quotient via R24 and remainder via R25.
H A Dudivmodhi4.S12 // The uint16 quotient is returned via R23:R22, and the uint16 remainder is
25 sub r27, r27 ; Initialize the remainder to zero.
48 mov r25, r27 ; The remainder is returned in in R25:R24.
/openbsd-current/gnu/usr.bin/perl/t/op/
H A Dpow.t49 my $remainder = $bits_in_uv & 3;
51 cmp_ok ($remainder, '==', 0, 'Sanity check bits in UV calculation')
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/calcs/
H A Dbw_fixed.c64 uint64_t remainder; local
73 res_value = div64_u64_rem(arg1_value, arg2_value, &remainder);
82 remainder <<= 1;
86 if (remainder >= arg2_value) {
88 remainder -= arg2_value;
95 uint64_t summand = (remainder << 1) >= arg2_value;
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/arm/
H A Ddivmodsi4.S27 @ int __divmodsi4(int divident, int divisor, int *remainder)
28 @ Calculate the quotient and remainder of the (signed) division. The return
29 @ value is the quotient, the remainder is placed in the variable.
/openbsd-current/sys/dev/pci/drm/amd/display/dc/basics/
H A Dconversion.c106 uint32_t remainder = 0; local
108 remainder = a % b;
110 b = remainder;
H A Dfixpt31_32.c45 * *remainder = dividend % divisor
50 unsigned long long *remainder)
56 result = div64_u64_rem(dividend, divisor, remainder);
81 unsigned long long remainder; local
86 arg1_value, arg2_value, &remainder);
95 remainder <<= 1;
99 if (remainder >= arg2_value) {
101 remainder -= arg2_value;
108 unsigned long long summand = (remainder << 1) >= arg2_value;
47 complete_integer_division_u64( unsigned long long dividend, unsigned long long divisor, unsigned long long *remainder) argument
/openbsd-current/lib/libcrypto/bn/
H A Dbn_div.c155 * Divide a double word (h:l) by d, returning the quotient q and the remainder
227 * zero and setting remainder such that quotient * divisor + remainder equals
231 * remainder->neg == numerator->neg (unless the remainder is zero)
233 * If either the quotient or remainder is NULL, the respective value is not
237 BN_div_internal(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, argument
266 if (remainder != NULL) {
267 if (!bn_copy(remainder, numerator))
409 if (remainder !
434 BN_div(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, const BIGNUM *divisor, BN_CTX *ctx) argument
447 BN_div_nonct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, const BIGNUM *divisor, BN_CTX *ctx) argument
454 BN_div_ct(BIGNUM *quotient, BIGNUM *remainder, const BIGNUM *numerator, const BIGNUM *divisor, BN_CTX *ctx) argument
[all...]
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/
H A Dudivmodti4.c31 du_int rhat; // A remainder
107 utwords remainder; local
115 remainder.s.high = 0;
119 divisor.s.low, &remainder.s.low);
122 // First, divide with the high part to get the remainder in dividend.s.high.
127 divisor.s.low, &remainder.s.low);
130 *rem = remainder.all;
/openbsd-current/gnu/gcc/gcc/config/avr/
H A Dlibgcc.S305 Division 8 / 8 => (result + remainder)
307 #define r_rem r25 /* remainder */
316 sub r_rem,r_rem ; clear remainder and carry
320 rol r_rem ; shift dividend into remainder
321 cp r_rem,r_arg2 ; compare remainder & divisor
322 brcs __udivmodqi4_ep ; remainder <= divisor
323 sub r_rem,r_arg2 ; restore remainder
347 neg r_rem ; correct remainder sign
363 Division 16 / 16 => (result + remainder)
365 #define r_remL r26 /* remainder Lo
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/config/avr/
H A Dlibgcc.S305 Division 8 / 8 => (result + remainder)
307 #define r_rem r25 /* remainder */
316 sub r_rem,r_rem ; clear remainder and carry
320 rol r_rem ; shift dividend into remainder
321 cp r_rem,r_arg2 ; compare remainder & divisor
322 brcs __udivmodqi4_ep ; remainder <= divisor
323 sub r_rem,r_arg2 ; restore remainder
347 neg r_rem ; correct remainder sign
363 Division 16 / 16 => (result + remainder)
365 #define r_remL r26 /* remainder Lo
[all...]

Completed in 202 milliseconds

123456