Rogue Wave banner
Previous fileTop of DocumentContentsNo linkNext file
SourcePro Release Notes
Rogue Wave web site:  Home Page  |  Main Documentation Page

SourcePro Analysis

OS/Compiler Specific Issues

Red Hat/Suse Linux - gcc

Currency Module (only)

Red Hat Linux - Intel C++

Currency Module (only)

Module-Specific Issues

Currency

Inexact exception for results with insignificant trailing zeros

Multiplication where the result contains insignificant trailing zeros may cause an inexact exception to be thrown, even if the result is represented exactly (SP-10262). In the following example, in which the class RWDecimal< RWMultiPrecisionInt<2> > can represent numbers with 18 decimal digits, an inexact exception will be generated:

The program creates the following output:

In one sense, the inexact exception is correct, since a certain number of significant digits are lost in the calculation. It just happens that those digits are all zeros.

Essential Math

Some Math Examples Require an Input File

Some of the Math Module's example programs require an input file. These input files are located inside the installdir\examples\math in directory, and are required by examples one, two, and eight.

You can modify these input files to try the examples with different input data.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.