udiv_qrnnd.c 560 B

12345678910
  1. /* For some machines GNU MP needs to define an auxiliary function:
  2. udiv_qrnnd (quotient, remainder, high_numerator, low_numerator, denominator)
  3. Divides a two-word unsigned integer, composed by the integers
  4. HIGH_NUMERATOR and LOW_NUMERATOR, by DENOMINATOR and places the quotient
  5. in QUOTIENT and the remainder in REMAINDER. HIGH_NUMERATOR must be less
  6. than DENOMINATOR for correct operation. If, in addition, the most
  7. significant bit of DENOMINATOR must be 1, then the pre-processor symbol
  8. UDIV_NEEDS_NORMALIZATION is defined to 1. */