28.2.16 __builtin_divud
Description
Computes the quotient num
/ den
. A math
error exception occurs if den
is zero. Function arguments are
unsigned, as is the function result. The command-line option
-Wconversions
can be used to detect unexpected sign conversions.
Prototype
unsigned int __builtin_divud(const unsigned long num, const unsigned int den);
Argument
num
– numerator
den
– denominator
Return Value
Returns the unsigned integer value of the quotient num
/
den
.
Assembler Operator/ Machine Instruction
div.ud