Quick Links:

bal | bbl | bdl | bsl

Classes | Namespaces | Defines | Typedefs | Functions

bdldfp_decimal.h File Reference

Provide IEEE-754 decimal floating-point types. More...

Go to the source code of this file.

Classes

class  bdldfp::Decimal_Type32
class  bdldfp::Decimal_Type64
class  bdldfp::Decimal_Type128
class  bdldfp::DecimalNumGet< CHARTYPE, INPUTITERATOR >
class  bdldfp::DecimalNumPut_WideBufferWrapper< char, WCHAR_8_BIT >
class  bdldfp::DecimalNumPut_WideBufferWrapper< wchar_t, false >

Namespaces

namespace  bdldfp

Defines

#define BDLDFP_DECIMAL_DF(lit)   BloombergLP::bdldfp::Decimal32(BDLDFP_DECIMALIMPUTIL_DF(lit))
#define BDLDFP_DECIMAL_DD(lit)   BloombergLP::bdldfp::Decimal64(BDLDFP_DECIMALIMPUTIL_DD(lit))
#define BDLDFP_DECIMAL_DL(lit)   BloombergLP::bdldfp::Decimal128(BDLDFP_DECIMALIMPUTIL_DL(lit))

Typedefs

typedef Decimal_Type32 bdldfp::Decimal32
typedef Decimal_Type64 bdldfp::Decimal64
typedef Decimal_Type128 bdldfp::Decimal128

Functions

Decimal32 bdldfp::operator+ (Decimal32 value)
Decimal32 bdldfp::operator- (Decimal32 value)
Decimal32 bdldfp::operator++ (Decimal32 &value, int)
Decimal32 bdldfp::operator-- (Decimal32 &value, int)
Decimal32 bdldfp::operator+ (Decimal32 lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, int rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, unsigned int rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, long rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, unsigned long rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, long long rhs)
Decimal32 bdldfp::operator+ (Decimal32 lhs, unsigned long long rhs)
Decimal32 bdldfp::operator+ (int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (unsigned int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (unsigned long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator+ (unsigned long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, int rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, unsigned int rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, long rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, unsigned long rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, long long rhs)
Decimal32 bdldfp::operator- (Decimal32 lhs, unsigned long long rhs)
Decimal32 bdldfp::operator- (int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (unsigned int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (unsigned long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator- (unsigned long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, int rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, unsigned int rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, long rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, unsigned long rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, long long rhs)
Decimal32 bdldfp::operator* (Decimal32 lhs, unsigned long long rhs)
Decimal32 bdldfp::operator* (int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (unsigned int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (unsigned long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator* (unsigned long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, int rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, unsigned int rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, long rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, unsigned long rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, long long rhs)
Decimal32 bdldfp::operator/ (Decimal32 lhs, unsigned long long rhs)
Decimal32 bdldfp::operator/ (int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (unsigned int lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (unsigned long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (long long lhs, Decimal32 rhs)
Decimal32 bdldfp::operator/ (unsigned long long lhs, Decimal32 rhs)
bool bdldfp::operator== (Decimal32 lhs, Decimal32 rhs)
bool bdldfp::operator!= (Decimal32 lhs, Decimal32 rhs)
bool bdldfp::operator< (Decimal32 lhs, Decimal32 rhs)
bool bdldfp::operator<= (Decimal32 lhs, Decimal32 rhs)
bool bdldfp::operator> (Decimal32 lhs, Decimal32 rhs)
bool bdldfp::operator>= (Decimal32 lhs, Decimal32 rhs)
template<class CHARTYPE , class TRAITS >
bsl::basic_istream< CHARTYPE,
TRAITS > & 
bdldfp::operator>> (bsl::basic_istream< CHARTYPE, TRAITS > &stream, Decimal32 &object)
template<class CHARTYPE , class TRAITS >
bsl::basic_ostream< CHARTYPE,
TRAITS > & 
bdldfp::operator<< (bsl::basic_ostream< CHARTYPE, TRAITS > &stream, Decimal32 object)
template<class HASHALG >
void bdldfp::hashAppend (HASHALG &hashAlg, const Decimal32 &object)
Decimal64 bdldfp::operator+ (Decimal64 value)
Decimal64 bdldfp::operator- (Decimal64 value)
Decimal64 bdldfp::operator++ (Decimal64 &value, int)
Decimal64 bdldfp::operator-- (Decimal64 &value, int)
Decimal64 bdldfp::operator+ (Decimal64 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (Decimal32 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, Decimal32 rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, int rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, unsigned int rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, long rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, unsigned long rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, long long rhs)
Decimal64 bdldfp::operator+ (Decimal64 lhs, unsigned long long rhs)
Decimal64 bdldfp::operator+ (int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (unsigned int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (unsigned long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator+ (unsigned long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (Decimal32 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, Decimal32 rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, int rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, unsigned int rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, long rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, unsigned long rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, long long rhs)
Decimal64 bdldfp::operator- (Decimal64 lhs, unsigned long long rhs)
Decimal64 bdldfp::operator- (int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (unsigned int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (unsigned long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator- (unsigned long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (Decimal32 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, Decimal32 rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, int rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, unsigned int rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, long rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, unsigned long rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, long long rhs)
Decimal64 bdldfp::operator* (Decimal64 lhs, unsigned long long rhs)
Decimal64 bdldfp::operator* (int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (unsigned int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (unsigned long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator* (unsigned long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (Decimal32 lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, Decimal32 rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, int rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, unsigned int rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, long rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, unsigned long rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, long long rhs)
Decimal64 bdldfp::operator/ (Decimal64 lhs, unsigned long long rhs)
Decimal64 bdldfp::operator/ (int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (unsigned int lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (unsigned long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (long long lhs, Decimal64 rhs)
Decimal64 bdldfp::operator/ (unsigned long long lhs, Decimal64 rhs)
bool bdldfp::operator== (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator== (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator== (Decimal64 lhs, Decimal32 rhs)
bool bdldfp::operator!= (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator!= (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator!= (Decimal64 lhs, Decimal32 rhs)
bool bdldfp::operator< (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator< (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator< (Decimal64 lhs, Decimal32 rhs)
bool bdldfp::operator<= (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator<= (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator<= (Decimal64 lhs, Decimal32 rhs)
bool bdldfp::operator> (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator> (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator> (Decimal64 lhs, Decimal32 rhs)
bool bdldfp::operator>= (Decimal64 lhs, Decimal64 rhs)
bool bdldfp::operator>= (Decimal32 lhs, Decimal64 rhs)
bool bdldfp::operator>= (Decimal64 lhs, Decimal32 rhs)
template<class CHARTYPE , class TRAITS >
bsl::basic_istream< CHARTYPE,
TRAITS > & 
bdldfp::operator>> (bsl::basic_istream< CHARTYPE, TRAITS > &stream, Decimal64 &object)
template<class CHARTYPE , class TRAITS >
bsl::basic_ostream< CHARTYPE,
TRAITS > & 
bdldfp::operator<< (bsl::basic_ostream< CHARTYPE, TRAITS > &stream, Decimal64 object)
template<class HASHALG >
void bdldfp::hashAppend (HASHALG &hashAlg, const Decimal64 &object)
Decimal128 bdldfp::operator+ (Decimal128 value)
Decimal128 bdldfp::operator- (Decimal128 value)
Decimal128 bdldfp::operator++ (Decimal128 &value, int)
Decimal128 bdldfp::operator-- (Decimal128 &value, int)
Decimal128 bdldfp::operator+ (Decimal128 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (Decimal32 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, Decimal32 rhs)
Decimal128 bdldfp::operator+ (Decimal64 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, Decimal64 rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, int rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, unsigned int rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, long rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, unsigned long rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, long long rhs)
Decimal128 bdldfp::operator+ (Decimal128 lhs, unsigned long long rhs)
Decimal128 bdldfp::operator+ (int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (unsigned int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (unsigned long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator+ (unsigned long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (Decimal32 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, Decimal32 rhs)
Decimal128 bdldfp::operator- (Decimal64 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, Decimal64 rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, int rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, unsigned int rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, long rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, unsigned long rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, long long rhs)
Decimal128 bdldfp::operator- (Decimal128 lhs, unsigned long long rhs)
Decimal128 bdldfp::operator- (int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (unsigned int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (unsigned long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator- (unsigned long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (Decimal32 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, Decimal32 rhs)
Decimal128 bdldfp::operator* (Decimal64 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, Decimal64 rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, int rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, unsigned int rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, long rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, unsigned long rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, long long rhs)
Decimal128 bdldfp::operator* (Decimal128 lhs, unsigned long long rhs)
Decimal128 bdldfp::operator* (int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (unsigned int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (unsigned long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator* (unsigned long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (Decimal32 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, Decimal32 rhs)
Decimal128 bdldfp::operator/ (Decimal64 lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, Decimal64 rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, int rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, unsigned int rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, long rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, unsigned long rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, long long rhs)
Decimal128 bdldfp::operator/ (Decimal128 lhs, unsigned long long rhs)
Decimal128 bdldfp::operator/ (int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (unsigned int lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (unsigned long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (long long lhs, Decimal128 rhs)
Decimal128 bdldfp::operator/ (unsigned long long lhs, Decimal128 rhs)
bool bdldfp::operator== (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator== (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator== (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator== (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator== (Decimal128 lhs, Decimal64 rhs)
bool bdldfp::operator!= (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator!= (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator!= (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator!= (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator!= (Decimal128 lhs, Decimal64 rhs)
bool bdldfp::operator< (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator< (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator< (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator< (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator< (Decimal128 lhs, Decimal64 rhs)
bool bdldfp::operator<= (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator<= (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator<= (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator<= (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator<= (Decimal128 lhs, Decimal64 rhs)
bool bdldfp::operator> (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator> (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator> (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator> (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator> (Decimal128 lhs, Decimal64 rhs)
bool bdldfp::operator>= (Decimal128 lhs, Decimal128 rhs)
bool bdldfp::operator>= (Decimal32 lhs, Decimal128 rhs)
bool bdldfp::operator>= (Decimal128 lhs, Decimal32 rhs)
bool bdldfp::operator>= (Decimal64 lhs, Decimal128 rhs)
bool bdldfp::operator>= (Decimal128 lhs, Decimal64 rhs)
template<class CHARTYPE , class TRAITS >
bsl::basic_istream< CHARTYPE,
TRAITS > & 
bdldfp::operator>> (bsl::basic_istream< CHARTYPE, TRAITS > &stream, Decimal128 &object)
template<class CHARTYPE , class TRAITS >
bsl::basic_ostream< CHARTYPE,
TRAITS > & 
bdldfp::operator<< (bsl::basic_ostream< CHARTYPE, TRAITS > &stream, Decimal128 object)
template<class HASHALG >
void bdldfp::hashAppend (HASHALG &hashAlg, const Decimal128 &object)

Detailed Description


Define Documentation

#define BDLDFP_DECIMAL_DF (   lit  )     BloombergLP::bdldfp::Decimal32(BDLDFP_DECIMALIMPUTIL_DF(lit))
#define BDLDFP_DECIMAL_DD (   lit  )     BloombergLP::bdldfp::Decimal64(BDLDFP_DECIMALIMPUTIL_DD(lit))
#define BDLDFP_DECIMAL_DL (   lit  )     BloombergLP::bdldfp::Decimal128(BDLDFP_DECIMALIMPUTIL_DL(lit))