Namespace for decimal floating‐point types and utilities.

Types

Name

Description

DecimalConvertUtil

This struct provides a namespace for utility functions that convert between the decimal floating‐point types of bdldfp_decimal and various other formats.

DecimalConvertUtil_IntelDfp

This struct provides a namespace for utility functions that convert between the decimal floating‐point types of bdldfp_decimal and various other formats.

DecimalFormatConfig

This attribute class characterizes how to configure certain behavior of bdldfp::DecimalUtil::format functions.

DecimalImpUtil

This struct provides a namespace for utility functions that implement core decimal floating‐poing operations.

DecimalImpUtil_IntelDfp

Namespace for Intel DFP decimal floating‐point implementation helpers.

DecimalNumGet

A facet type (mechanism) used in reading decimal floating‐point types.

DecimalNumPut

A facet type (mechanism) used in writing decimal floating‐point types.

DecimalNumPut_WideBufferWrapper

This class provides a wrapper around a buffer of the specified (template parameter) CHARTYPE.

DecimalStorage

This struct provides a namespace for types for storing Binary Integral Decimal representation of a decimal floating point value.

DecimalUtil

This utility struct provides a namespace for functions using the decimal floating point types defined in the bdldfp_decimal package.

DecimalUtil_CStringUtil

Component‐private helpers that normalize string‐like inputs to C strings.

Decimal_BslFmtFormatterImpl

This class template provides the implementation for all possible decimal floating point formatting styles and the parsing of the format specification.

Decimal_FormatterSpecification

This template is the implementation of the bsl::format specification for bdldfp::Decimal* types.

Decimal_StandardNamespaceCanary

An empty class used for error detection when looking for the original name of the standard namespace. Do not use it.

Decimal_Type128

This value‐semantic class implements the IEEE‐754 128 bit decimal floating‐point format arithmetic type.

Decimal_Type32

This value‐semantic class implements the IEEE‐754 32 bit decimal floating‐point interchange format type.

Decimal_Type64

This value‐semantic class implements the IEEE‐754 64 bit decimal floating‐point format arithmetic type.

Uint128

This value‐semantic type represents a 128‐bit integer, with host machine byte order.

faux_numeric_limits

This class is used as a base‐class for manifest constants in the std::numeric_limits specializations to overcome a Sun compiler issue.

Type Aliases

Name

Description

Decimal128

The decimal floating‐point types are typedefs to the unspecified implementation types.

Decimal32

The decimal floating‐point types are typedefs to the unspecified implementation types.

Decimal64

Alias for the 64‐bit decimal floating‐point type.

Functions

Name

Description

hashAppend

Pass the specified object to the specified hashAlg.

operator""_d128

Parse the specified literal text into a decimal floating‐point value.

operator""_d32

Parse the specified literal text into a decimal floating‐point value.

operator""_d64

Parse the specified literal text into a decimal floating‐point value.

operator&

Return an Uint128 object having the value of a the bitwise and between the specified lhs and the specified rhs value.

operator*

Multiplication operators

operator+

Unary plus operators

operator++

Apply the prefix ++ operator to the specified value and return its original value.

operator‐

Unary minus operators

operator‐‐

Apply the prefix ‐‐ operator to the specified value and return its original value.

operator/

Division operators

operator>>

Right shift operators

operatorˆ

Return an Uint128 object having the value of a the bitwise xor between the specified lhs and the specified rhs value.

operator|

Return an Uint128 object having the value of a the bitwise or between the specified lhs and the specified rhs value.

operator~

Return an Uint128 value equal to the bitwise ones compliment of the specified value.

operator<<

Left shift operators

operator==

Equality operators

operator!=

Inequality operators

operator<

Less‐than operators

operator<=

Less‐than‐or‐equal operators

operator>

Greater‐than operators

operator>=

Greater‐than‐or‐equal operators

Created with MrDocs