This value‐semantic class implements the IEEE‐754 128 bit decimal floating‐point format arithmetic type. This class is a standard layout type that is const thread‐safe and exception‐neutral.
Synopsis
Declared in <bdldfp_decimal.h>
class Decimal_Type128;
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