1 /* For each N divided by D, we do:
2 result = (double) N / (double) D
3 Then, for each N mod D, we do:
4 result = N - (D * divMODE (N, D))
7 The q and qu versions won't deal with operands > 50 bits. We also
8 don't check for divide by zero. */
12 /* We do not handle div by zero yet. */
13 #include <machine/pal.h>
17 /* Avoid the definition of ret that we set in the alpha sysdep.h. */
20 define(path, `SYSDEP_DIR/macros.m4')dnl
24 /* First set up the dividend. */
31 /* Then set up the divisor. */
38 /* Do the division. */
42 /* Put the result in t12. */