std::decimal::decimal32(3cxx)
π NAME π
std::decimal::decimal32 β 3.2.2 Class decimal32. This is the 3cxx manual page for it, bestie; we're deep in std::decimal territory and the whole page is about this one class. Slay. β¨
πΈ SYNOPSIS πΈ
Include it like this, no cap:
#include <decimal>
π Public Types π
typedef float __decfloat32β the one and only public type listed here. Keep it exactly like that. π
π Public Member Functions π
Okay bestie, every overload is here β constructors, getters/setters, the conversion operator, and all the compound-assignment and increment/decrement energy. Signatures stay character-for-character:
decimal32 (__decfloat32 __z)
decimal32 (decimal128 __d128)
decimal32 (decimal64 __d64)
decimal32 (double __r)
decimal32 (float __r)
decimal32 (int __z)
decimal32 (long __z)
decimal32 (long double __r)
decimal32 (long long __z)
decimal32 (unsigned int __z)
decimal32 (unsigned long __z)
decimal32 (unsigned long long __z)
__decfloat32 __getval (void)
void __setval (__decfloat32 __x)
operator long long () const
decimal32 & operator*= (decimal128 __rhs)
decimal32 & operator*= (decimal32 __rhs)
decimal32 & operator*= (decimal64 __rhs)
decimal32 & operator*= (int __rhs)
decimal32 & operator*= (long __rhs)
decimal32 & operator*= (long long __rhs)
decimal32 & operator*= (unsigned int __rhs)
decimal32 & operator*= (unsigned long __rhs)
decimal32 & operator*= (unsigned long long __rhs)
decimal32 & operator++ ()
decimal32 operator++ (int)
decimal32 & operator+= (decimal128 __rhs)
decimal32 & operator+= (decimal32 __rhs)
decimal32 & operator+= (decimal64 __rhs)
decimal32 & operator+= (int __rhs)
decimal32 & operator+= (long __rhs)
decimal32 & operator+= (long long __rhs)
decimal32 & operator+= (unsigned int __rhs)
decimal32 & operator+= (unsigned long __rhs)
decimal32 & operator+= (unsigned long long __rhs)
decimal32 & operator-- ()
decimal32 operator-- (int)
decimal32 & operator-= (decimal128 __rhs)
decimal32 & operator-= (decimal32 __rhs)
decimal32 & operator-= (decimal64 __rhs)
decimal32 & operator-= (int __rhs)
decimal32 & operator-= (long __rhs)
decimal32 & operator-= (long long __rhs)
decimal32 & operator-= (unsigned int __rhs)
decimal32 & operator-= (unsigned long __rhs)
decimal32 & operator-= (unsigned long long __rhs)
decimal32 & operator/= (decimal128 __rhs)
decimal32 & operator/= (decimal32 __rhs)
decimal32 & operator/= (decimal64 __rhs)
decimal32 & operator/= (int __rhs)
decimal32 & operator/= (long __rhs)
decimal32 & operator/= (long long __rhs)
decimal32 & operator/= (unsigned int __rhs)
decimal32 & operator/= (unsigned long __rhs)
decimal32 & operator/= (unsigned long long __rhs)
The __decfloat32 constructor has its own little note below, so don't scroll past it π
π₯ Detailed Description π₯
It is literally 3.2.2 Class decimal32. That's the whole detailed description β short, sweet, and main character energy. π«Ά
π¦ Constructor & Destructor Documentation π¦
Only one constructor is documented here:
std::decimal::decimal32::decimal32 (__decfloat32 __z) [inline]
This one is the Conforming extension: Conversion from scalar decimal type. So yeah, it's the conversion-from-scalar-decimal-type constructor, fr fr. β¨
π Author π
Not a human bestie β Generated automatically by Doxygen for libstdc++ from the source code. The source code and Doxygen are the authors here, periodt. π
Cute little footer sign-off: source/version islibstdc++, and this page isstd::decimal::decimal32(3cxx). The original footer doesn't give a date, so I'm not inventing one β just pure libstdc++ π
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms