Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/stdlib/udiv_qrnnd.c
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10 lines (8 sloc)
560 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* For some machines GNU MP needs to define an auxiliary function: | |
udiv_qrnnd (quotient, remainder, high_numerator, low_numerator, denominator) | |
Divides a two-word unsigned integer, composed by the integers | |
HIGH_NUMERATOR and LOW_NUMERATOR, by DENOMINATOR and places the quotient | |
in QUOTIENT and the remainder in REMAINDER. HIGH_NUMERATOR must be less | |
than DENOMINATOR for correct operation. If, in addition, the most | |
significant bit of DENOMINATOR must be 1, then the pre-processor symbol | |
UDIV_NEEDS_NORMALIZATION is defined to 1. */ |