28.2.19 __builtin_divf

Architecture

dsPIC33C/E/F, dsPIC30

Description

Computes the quotient num / den. A math error exception occurs if den is zero. Function arguments are signed, as is the function result.

Prototype

int16_t __builtin_divf(int16_t num, int16_t den);

Arguments

num – numerator

den – denominator

Return Value

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

Machine Instruction

div.f