next up previous
Next: Scoping affects how we Up: FP98: Rounding Modes from Previous: Prerequisites

Modes, Flags

It is easy to be confused on this:

  1. Modes are set by the program (rounding, trap enabling)
  2. Flags are set as a side effect of an operation (floating-point overflow)

An overly simplistic view is that modes are read/write variables to a program, and flags are read/clear only variables. We defer fuller discussion of modes of (for example) enabling traps



Richard J. Fateman
Wed Aug 12 22:53:48 PDT 1998