Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWDecimalInexactErr<T>



Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/money/decimal.h> /* for RWDecimalInexactErr<T> */
                              /* and RWDecimalOverflowErr<T>*/
#include <rw/money/mp2int.h>  /* For RWMP2Int               */

RWDecimal<RWMP2Int> a = "9.9999999999"; 
RWDecimal<RWMP2Int> b = a*a;    // calls the inexact error handler 

The following header files are available for backward compatibility:

#include <rw/dec52.h>   /* RWDecimal52InexactErr,
                           RWDecimal52OverflowErr*/
#include <rw/dec64.h>   /* RWDecimal64InexactErr,
                           RWDecimal64OverflowErr*/
#include <rw/dec96.h>   /* RWDecimal96InexactErr,
                           RWDecimal96OverflowErr*/

Related Java Class

com.roguewave.money.currency.v1_0.PrecisionExceededException

Description

RWDecimalInexactErr<T> is one of the error objects used to signal problems in computations involving RWDecimal<T> and RWFixedDecimal<T> objects. The other error object is RWDecimalOverflowErr<T>. See the "Arithmetic" entry in the RWDecimal<T> and RWFixedDecimal<T> reference sections for details about when the error objects are used. Also, see Section 6.3 of the User's Guide for information about how to set error handlers.

Public Member Functions

RWDecimal<T>
RWDecimalInExactErr<T>::leftOperand();
RWCString
RWDecimalInExactErr<T>::msg();
RWDecimalBase::Op
RWDecimalInExactErr<T>::operation();
RWDecimal<T>
RWDecimalInExactErr<T>::rightOperand();


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.