These are the actual (decimal floating‐point) types being implemented. They use a different name to cause an error if the official types are forward declared: The exact definition of the decimal types is left unspecified so that that can potentially be aliases for built‐in types.
Synopsis
Declared in <bdldfp_decimal.h>
class Decimal_Type32;
Member Functions
Name |
Description |
|
Constructors |
Assign to this object the value read from the specified input |
|
Write the value of this object, using the specified |
|
|
|
Multiplication assignment operators |
|
Add 1.0 to the value of this object and return a reference to it. Note that this is a floating‐point value so this operation may not change the value of this object at all (if the value is large) or it may just set it to 1.0 (if the original value is small). |
|
Addition assignment operators |
|
Add ‐1.0 to the value of this object and return a reference to it. Note that this is a floating‐point value so this operation may not change the value of this object at all (if the value is large) or it may just set it to ‐1.0 (if the original value is small). |
|
Subtraction assignment operators |
|
Division assignment operators |
|
Return the value of the underlying implementation. |
|
Declare the specified nested trait for this decimal type. |
Static Member Functions
Name |
Description |
|
Created with MrDocs