My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sw_div.c File Reference
#include "sw_debug.h"
#include "sw_types.h"
#include "sw_div.h"

Functions

u32 __aeabi_uidiv (u32 dividend, u32 divisor)
 Simple unsigned int division with minimal optimizations. For best results, use a tail-call optimizing seasoning. More...
 
ulldiv_t __aeabi_uldivmod (u64 dividend, u64 divisor)
 Does 64 bit unsigned int division, returning a struct containing the quotient and remainder. More...
 
u32 __aeabi_idivmod (u32 dividend, u32 divisor)
 

Function Documentation

u32 __aeabi_idivmod ( u32  dividend,
u32  divisor 
)
Parameters
dividend
divisor
Returns
u32 __aeabi_uidiv ( u32  dividend,
u32  divisor 
)

Simple unsigned int division with minimal optimizations. For best results, use a tail-call optimizing seasoning.

ARMEABI defined division routines

Parameters
dividend
divisor
Returns
ulldiv_t __aeabi_uldivmod ( u64  dividend,
u64  divisor 
)

Does 64 bit unsigned int division, returning a struct containing the quotient and remainder.

Parameters
dividend
divisor
Returns