Before You Begin |
This manual documents the C++ interface to the C++ interval arithmetic library provided with the Sun Forte Developer C++ compilers.
This is a reference manual intended for programmers with a working knowledge of the C++ language, the Solaris operating environment, and UNIX commands.
This book contains the following chapters:
Chapter 1 describes the C++ interval arithmetic support goals and provides code samples that interval programmers can use to quickly learn more about the C++ interval features. This chapter contains the essential information to get started writing interval code using C++.
Chapter 2 is a complete description of the C++ interval arithmetic library interface.
"Glossary" contains definitions of interval terms.
This book is not an introduction to intervals and does not contain derivations of the interval innovations included in the interval arithmetic C++ library. For a list of sources containing introductory interval information, see the Interval Arithmetic Readme.
The interval literature is large and growing. Interval applications exist in various substantive fields. However, most interval books and journal articles either contain these algorithms, or are written for interval analysts who are developing new interval algorithms. There is not yet a book titled "Introduction to Intervals."
The Sun Forte Developer C++ compiler is not the only source of C++ support for intervals. Readers interested in other well known sources can refer to the following books:
For a list of technical reports that establish the foundation for the interval innovations implemented in class interval, see References. See the Interval Arithmetic Readme for the location of the online versions of these references.
Additional interval information is available at various web sites and by subscribing to email lists. For a list of online resources, refer to the Interval Arithmetic Readme.
A detailed bibliography and interval FAQ can be obtained online at the URLs listed in the Interval Arithmetic Readme.
To discuss interval arithmetic issues or ask questions about using interval arithmetic, a mailing list has been constructed. Anyone can send questions to this list. Refer to the Interval Arithmetic Readme for instructions on how to subscribe to this mailing list.
To report a suspected interval error, send email to the following address:
Include the following text in the Subject line of the email message:
where mm/dd/yy is the month, day, and year of the message.
All code examples in this book are contained in the following directory:
The name of each file is cen-m.cc, where n is the chapter in which the example occurs and m is the number of the example. Additional interval examples are also provided in this directory.
The "pipe" or "bar" symbol separates arguments, only one of which may be chosen. |
|||
The colon, like the comma, is sometimes used to separate arguments. |
|||
The Forte Developer product components and man pages are not installed into the standard /usr/bin/ and /usr/share/man directories. To access the Forte Developer compilers and tools, you must have the Forte Developer component directory in your PATH environment variable. To access the Forte Developer man pages, you must have the Forte Developer man page directory in your MANPATH environment variable.
For more information about the PATH variable, see the csh(1), sh(1), and ksh(1) man pages. For more information about the MANPATH variable, see the man(1) man page. For more information about setting your PATH and MANPATH variables to access this Forte Developer release, see the installation guide or your system administrator.
Use the steps below to determine whether you need to change your PATH variable to access the Forte Developer compilers and tools.
To Determine Whether You Need to Set Your PATH Environment Variable |
1. Display the current value of the PATH variable by typing the following at a command prompt:
% echo $PATH |
2. Review the output for a string of paths that contain /opt/SUNWspro/bin/.
If you find the path, your PATH variable is already set to access Forte Developer development tools. If you do not find the path, set your PATH environment variable by following the instructions in the next section.
To Set Your PATH Environment Variable to Enable Access to Forte Developer Compilers and Tools |
1. If you are using the C shell, edit your home .cshrc file. If you are using the Bourne shell or Korn shell, edit your home .profile file.
2. Add the following to your PATH environment variable.
Use the following steps to determine whether you need to change your MANPATH variable to access the Forte Developer man pages.
To Determine Whether You Need to Set Your MANPATH Environment Variable |
1. Request the dbx man page by typing the following at a command prompt:
% man dbx |
If the dbx(1) man page cannot be found or if the man page displayed is not for the current version of the software installed, follow the instructions in the next section for setting your MANPATH environment variable.
To Set Your MANPATH Environment Variable to Enable Access to Forte Developer Man Pages |
1. If you are using the C shell, edit your home .cshrc file. If you are using the Bourne shell or Korn shell, edit your home .profile file.
2. Add the following to your MANPATH environment variable.
You can access Forte Developer product documentation at the following locations:
The docs.sun.com web site (http://docs.sun.com) enables you to read, print, and buy Sun Microsystems manuals through the Internet. If you cannot find a manual, see the documentation index installed with the product on your local system or network.
Forte Developer 7 product documentation is provided in accessible formats that are readable by assistive technologies for users with disabilities. You can find accessible versions of documentation as described in the following table. If your product software is not installed in the /opt directory, ask your system administrator for the equivalent path on your system.
The following table describes related documentation that is available through the docs.sun.com web site.
Sun is interested in improving its documentation and welcomes your comments and suggestions. Email your comments to Sun at this address:
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.