Assembly Language Help (alang.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 Instruction
 Detail                                    Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Title:    Scale
 
  Syntax:   FSCALE
 
  See also: FSQRT
 
  Description:
 
     Scales by powers of 2 by calculating 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.
 
     On the 8087/287 processors, 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. The
     80387/486 processors have no restrictions on the range of operands.
                                    -♦-