28.2.15 __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

int __builtin_divsd(const long num, const int den);

Argument

num – numerator

den – denominator

Return Value

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

Assembler Operator/ Machine Instruction

div.sd