Strategies for portability across CommonPoint platforms

This chapter opened with a discussion of issues that affect portability. One way to determine what constitutes a portable program is to take, in effect, the intersection of the capabilities across all CommonPoint platforms for each feature. Here is such a list of specific strategies:

TIP In cases requiring extra range in long double, consider supporting two implementations, a straightforward one for platforms whose long double type offers extra range as well as precision, and a more carefully programmed one for platforms offering the exponent range of double and no more.

TIP If you develop on a platform supporting hexadecimal floating constants, isolate them in one or more header files in the event you should need to express them in decimal form.


[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