blob: d32796c04d493cdd73fbe415d9eb112485aee311 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/* For some machines GNU MP needs to define an auxiliary function:
2
3 udiv_qrnnd (quotient, remainder, high_numerator, low_numerator, denominator)
4
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. */