qa.hlp (Table of Contents; Topic list)
FPREM
   Summary  Timings
────────────────────────────────────────────────────────────────────────────
 
Partial Remainder
 
Syntax:  FPREM
 
Calculates the remainder of ST divided by ST(1), returning the result in
ST. The remainder retains the same sign as the original dividend. The
calculation uses the following formula:
 
         remainder = ST - ST(1) * quotient
 
The quotient is the exact value obtained by chopping ST / ST(1) toward
0. The instruction is intended to be used in a loop that repeats until
the reduction is complete, as indicated by the condition codes of the
status word.
                                    -♦-