28.2.18 __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
uint16_t __builtin_divud(const uint32_t num, const uint16_t den);
Arguments
num
– numerator
den
– denominator
Return Value
Returns the unsigned integer value of the quotient num
/
den
.
Assembler Operator/ Machine Instruction
div.ud