//uspace/trunk/softint/include/division.h |
---|
26,6 → 26,13 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup softint |
* @{ |
*/ |
/** |
* @file |
*/ |
#ifndef __SOFTINT_DIVISION_H__ |
#define __SOFTINT_DIVISION_H__ |
58,3 → 65,6 |
#endif |
/** @} |
*/ |
//uspace/trunk/softint/generic/division.c |
---|
26,6 → 26,15 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
/** @addtogroup softint SoftInt |
* @brief Software implementation of basic arithmetic operations. |
* @{ |
*/ |
/** |
* @file |
* SW implementation of 32 and 64 bit division and modulo. |
*/ |
#include <division.h> |
#define ABSVAL(x) ( (x) > 0 ? (x) : -(x)) |
185,4 → 194,5 |
return divandmod64(a, b, c); |
} |
/** @} |
*/ |