28.2.17 __builtin_divsd

Description

Computes the quotient num / den. A math error exception occurs if den is zero. Function arguments are signed, as is the function result. The command-line option -Wconversions can be used to detect unexpected sign conversions.

Prototype

int16_t __builtin_divsd(const int32_t num, const int16_t den);

Arguments

num – numerator

den – denominator

Return Value

Returns the signed integer value of the quotient num / den.

Assembler Operator/ Machine Instruction

div.sd