libstdc++: std::decimal::decimal64 Class Reference

libstdc++

std::decimal::decimal64 Class Reference

`#include <decimal>`

## Public Types
typedef float | __decfloat64

## Public Member Functions
| decimal64 (__decfloat64 __z)
| decimal64 (decimal128 d128)
| decimal64 (decimal32 d32)
| decimal64 (double __r)
| decimal64 (float __r)
| decimal64 (int __z)
| decimal64 (long __z)
| decimal64 (long double __r)
| decimal64 (long long __z)
| decimal64 (unsigned int __z)
| decimal64 (unsigned long __z)
| decimal64 (unsigned long long __z)
__decfloat64 | __getval (void)
void | __setval (__decfloat64 __x)
| operator long long () const
decimal64 & | operator*= (decimal128 __rhs)
decimal64 & | operator*= (decimal32 __rhs)
decimal64 & | operator*= (decimal64 __rhs)
decimal64 & | operator*= (int __rhs)
decimal64 & | operator*= (long __rhs)
decimal64 & | operator*= (long long __rhs)
decimal64 & | operator*= (unsigned int __rhs)
decimal64 & | operator*= (unsigned long __rhs)
decimal64 & | operator*= (unsigned long long __rhs)
decimal64 & | operator++ ()
decimal64 | operator++ (int)
decimal64 & | operator+= (decimal128 __rhs)
decimal64 & | operator+= (decimal32 __rhs)
decimal64 & | operator+= (decimal64 __rhs)
decimal64 & | operator+= (int __rhs)
decimal64 & | operator+= (long __rhs)
decimal64 & | operator+= (long long __rhs)
decimal64 & | operator+= (unsigned int __rhs)
decimal64 & | operator+= (unsigned long __rhs)
decimal64 & | operator+= (unsigned long long __rhs)
decimal64 & | operator-- ()
decimal64 | operator-- (int)
decimal64 & | operator-= (decimal128 __rhs)
decimal64 & | operator-= (decimal32 __rhs)
decimal64 & | operator-= (decimal64 __rhs)
decimal64 & | operator-= (int __rhs)
decimal64 & | operator-= (long __rhs)
decimal64 & | operator-= (long long __rhs)
decimal64 & | operator-= (unsigned int __rhs)
decimal64 & | operator-= (unsigned long __rhs)
decimal64 & | operator-= (unsigned long long __rhs)
decimal64 & | operator/= (decimal128 __rhs)
decimal64 & | operator/= (decimal32 __rhs)
decimal64 & | operator/= (decimal64 __rhs)
decimal64 & | operator/= (int __rhs)
decimal64 & | operator/= (long __rhs)
decimal64 & | operator/= (long long __rhs)
decimal64 & | operator/= (unsigned int __rhs)
decimal64 & | operator/= (unsigned long __rhs)
decimal64 & | operator/= (unsigned long long __rhs)

## Detailed Description

3.2.3 Class decimal64.

Definition at line 318 of file decimal.

## Member Typedef Documentation

## ◆ __decfloat64

typedef float std::decimal::decimal64::__decfloat64

Definition at line 321 of file decimal.

## Constructor & Destructor Documentation

## ◆ decimal64() [1/11]

std::decimal::decimal64::decimal64 | ( |  | ) |
| inline

Definition at line 324 of file decimal.

## ◆ decimal64() [2/11]

std::decimal::decimal64::decimal64 | ( | float | __r | ) |
| inlineexplicit

Definition at line 329 of file decimal.

## ◆ decimal64() [3/11]

std::decimal::decimal64::decimal64 | ( | double | __r | ) |
| inlineexplicit

Definition at line 330 of file decimal.

## ◆ decimal64() [4/11]

std::decimal::decimal64::decimal64 | ( | long double | __r | ) |
| inlineexplicit

Definition at line 331 of file decimal.

## ◆ decimal64() [5/11]

std::decimal::decimal64::decimal64 | ( | int | __z | ) |
| inline

Definition at line 334 of file decimal.

## ◆ decimal64() [6/11]

std::decimal::decimal64::decimal64 | ( | unsigned int | __z | ) |
| inline

Definition at line 335 of file decimal.

## ◆ decimal64() [7/11]

std::decimal::decimal64::decimal64 | ( | long | __z | ) |
| inline

Definition at line 336 of file decimal.

## ◆ decimal64() [8/11]

std::decimal::decimal64::decimal64 | ( | unsigned long | __z | ) |
| inline

Definition at line 337 of file decimal.

## ◆ decimal64() [9/11]

std::decimal::decimal64::decimal64 | ( | long long | __z | ) |
| inline

Definition at line 338 of file decimal.

## ◆ decimal64() [10/11]

std::decimal::decimal64::decimal64 | ( | unsigned long long | __z | ) |
| inline

Definition at line 339 of file decimal.

## ◆ decimal64() [11/11]

std::decimal::decimal64::decimal64 | ( | __decfloat64 | __z | ) |
| inline

Conforming extension: Conversion from scalar decimal type.

Definition at line 342 of file decimal.

## Member Function Documentation

## ◆ __getval()

__decfloat64 std::decimal::decimal64::__getval | ( | void |  | ) |
| inline

Definition at line 399 of file decimal.

## ◆ __setval()

void std::decimal::decimal64::__setval | ( | __decfloat64 | __x | ) |
| inline

Definition at line 400 of file decimal.

## ◆ operator long long()

std::decimal::decimal64::operator long long | ( |  | ) | const
| inlineexplicit

Definition at line 347 of file decimal.

## ◆ operator++() [1/2]

decimal64 & std::decimal::decimal64::operator++ | ( |  | ) |
| inline

Definition at line 351 of file decimal.

## ◆ operator++() [2/2]

decimal64 std::decimal::decimal64::operator++ | ( | int |  | ) |
| inline

Definition at line 357 of file decimal.

## ◆ operator--() [1/2]

decimal64 & std::decimal::decimal64::operator-- | ( |  | ) |
| inline

Definition at line 364 of file decimal.

## ◆ operator--() [2/2]

decimal64 std::decimal::decimal64::operator-- | ( | int |  | ) |
| inline

Definition at line 370 of file decimal.

The documentation for this class was generated from the following file:

- decimal