The numerical execution environment

Floating-point computations take place in a context called the environment, which contains:

The IEEE arithmetic standards specify features of the environment. The proposed Floating-Point C Extensions specify functions for manipulating it. The CommonPoint application system includes classes to simplify access to the environment, along with support for the FPCE environment functions.

Many applications don't interact with the environment; they round to nearest exclusively and do their error checking based on numerical results, not flags. For others, the environment is a powerful facility. Read this chapter for information about the computational model of the environment and the tools for manipulating it.

The environment model
Programming examples
The environment classes
Rounding modes and exception flags
Handling floating-point exceptions
Accessing the environment

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker