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 is libstdc++, and this page is std::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