qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
FSCALE
   Summary  Timings
────────────────────────────────────────────────────────────────────────────
 
Scale
 
Syntax:  FSCALE
 
Scales by powers of two by computing the function Y = Y * 2^X. X is the
scaling factor taken from ST(1), and Y is the value to be scaled from
ST. The scaled result replaces the value in ST. The scaling factor
remains in ST(1). If the scaling factor is not an integer, it will be
truncated toward zero before the scaling.
 
The 80387 has no restrictions on the range of operands, but on the 8087
and 80287, if X is not in the range -2^15 ≤ X <2(^15) or if X is in the
range 0 < X < 1, the result will be undefined.
                                    -♦-