Headers
Several headers define the interfaces to the CommonPoint numerical facilities. The headers fall into four groups:
- The CommonPoint headers support all the functionality of the proposed Floating-point C Extensions and the IEEE floating-point standards, presented in the style of the CommonPoint application system:
- The FPCE headers also support the full FPCE and IEEE functionality, but in the C style of FPCE:
- The historical Standard C header supports an earlier feature set superceded by FPCE:
- Three headers support specialized services that are independent of the more general headers above:
RandomNumber.h
defines the classes and functions providing sequences of random integers and floating-point numbers.
IntegerMath.h
defines functions to compute integer square root, the next prime after a given value, and to determine primality.
PrimitiveTypes.h
defines the class TDoubleLong, an integer type twice the width of long, and other, nonnumerical types.
Use the CommonPoint headers for best results across all CommonPoint platforms. They provide the most mathematical functionality and object-oriented access to the floating-point environment. Use the FPCE headers along with the CommonPoint headers to enhance portability across other systems, too. Use the Standard C header with the CommonPoint headers only when strict compliance to earlier conventions is important. Chapter 11 discusses portability aspects of the headers further.
[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