28.2.24 __builtin_divmodf __builtin_divmodf_32
Architecture
dsPIC33A
Description
Perform a 32-bit fixed point divide and capture the remainder.
Prototype
int32_t __builtin_divmodf(int32_t x, int32_t y, int32_t *remainder);
Arguments
x
- fixed point numerator
y
- fixed point denominator
remainder
- location to store the remainder result
Return Value
Returns x
/y
and stores
x
%y
into
the storage pointed to by remainder
.
Machine Instruction
divfl
Error Messages
None.