Lines Matching refs:Step
23 | Step 1. Save and strip signs of X and Y: signX := sign(X),
28 | Step 2. Set L := expo(X)-expo(Y), k := 0, Q := 0.
30 | R := X, go to Step 4.
35 | Step 3. Perform MOD(X,Y)
36 | 3.1 If R = Y, go to Step 9.
38 | 3.3 If j = 0, go to Step 4.
40 | Step 3.1.
42 | Step 4. At this point, R = X - QY = MOD(X,Y). Set
43 | Last_Subtract := false (used in Step 7 below). If
44 | MOD is requested, go to Step 6.
46 | Step 5. R = MOD(X,Y), but REM(X,Y) is requested.
48 | Step 6.
50 | Q := Q + 1, Y := signY*Y }. Go to Step 6.
54 | Step 6. R := signX*R.
56 | Step 7. If Last_Subtract = true, R := R - Y.
58 | Step 8. Return signQ, last 7 bits of Q, and R as required.
60 | Step 9. At this point, R = 2^(-j)*X - Q Y = Y. Thus,