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