Updated 2004/12/10

Sun[tm] Studio 10: Interval Arithmetic Readme

Contents

  1. Introduction
  2. About Interval Arithmetic
  3. New and Changed Features
  4. Software Corrections
  5. Problems and Workarounds
  6. Limitations and Incompatibilities
  7. Documentation Errors

 


A. Introduction

This document contains information about Sun[tm] Interval Arithmetic.

This readme has been updated with new brand name information. However, the interval arithmetic software in this release is the same version as the interval arithmetic software released previously with the Sun Studio 8 software and Sun Studio 9 software. There are no new interval arithmetic features or bug fixes in this Sun Studio release.

Information in this document updates and extends information in the software manuals.

Product Documentation

Note - If your Sun Studio compilers and tools have not been installed in the default /opt directory, ask your system administrator for the equivalent path on your system.

 


B. About Interval Arithmetic

This release of interval arithmetic is available on the Solaris[tm] Operating System (Solaris OS) on SPARC® based systems, versions 8, 9, and 10.

Support for intrinsic INTERVAL data types is a feature in the Sun Studio Fortran 95 compiler. Two compiler flags, -xia and -xinterval, tell the compiler to recognize interval-specific language extensions and to generate executable interval code.

The Sun Studio C++ compiler provides a C++ interface to the C++ interval arithmetic library. To use the C++ interval arithmetic features, add the #include <suninterval.h> header file to the code, and then compile the code using the -xia command-line option.

 


C. New and Changed Features

There are no new interval arithmetic features in this release.

 


D. Software Corrections

There is no new information at this time.

 


E. Problems and Workarounds

This section discusses known software problems and possible workarounds for those problems.

There is no new information at this time.

For updates or patches, check the updated information at http://developers.sun.com/prodtech/cc/support_index.html..

 


F. Limitations and Incompatibilities

This section discusses limitations and incompatibilities with systems or other software.

For last_minute information, see the release notes at http://developers.sun.com/tools/cc/documentation/ss10_docs/release_notes.html

Interval Function Calls

In the Sun ONE Studio 8, Compiler Collection release and the Sun Studio 8, 9, and 10 releases, the interface (ABI) for interval function calls is unchanged from the Sun ONE Studio 7, Compiler Collection release. Fortran functions and libraries containing interval functions compiled with the Sun Studio 10 compilers are binary compatible with functions and libraries compiled with the Sun ONE Studio 7 compilers.

However, in the Sun ONE Studio 7, Compiler Collection release the interface (ABI) for interval function calls was changed so that Fortran functions returning intervals could be called from C++ programs. Because of this ABI change, Fortran functions and libraries containing interval functions are not binary compatible with Forte Developer 6, Forte Developer 6 update 1, or Forte Developer 6 update 2 compilers. Fortran and C++ programs and libraries with interval functions that were compiled with Forte Developer 6 compilers must be recompiled with the Sun Studio 10 f95 and CC compiler before Fortran functions returning intervals can be called from C++ programs.

Incompatibility between -xia and -library=stlport4

You cannot use C++ interval math with the STLport C++ library. A program using the -xia option can be compiled and linked only as documented in the C++ Interval Arithmetic Programming Reference.

 


G. Documentation Errors

There is no new information at this time.

 


Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.