std::decimal::decimal64(3cxx)

🌸 NAME 🌸

okay so std::decimal::decimal64 β€” from the 3cxx manual, bestie β€” is the 3.2.3 Class decimal64. That's the whole name section, no cap.

✨ SYNOPSIS ✨

#include <decimal>

πŸ’– Public Types πŸ’–

  • typedef float __decfloat64 β€” the public type alias, literally right there in the roster.

🫢 Public Member Functions 🫢

Here's the full cast, no skips, no "I'll summarize later" energy:

  • decimal64 (__decfloat64 __z) β€” constructor from __decfloat64; the official note is Conforming extension: Conversion from scalar decimal type.
  • decimal64 (decimal128 d128) β€” constructor from a decimal128.
  • decimal64 (decimal32 d32) β€” constructor from a decimal32.
  • decimal64 (double __r) β€” constructor from a double.
  • decimal64 (float __r) β€” constructor from a float.
  • decimal64 (int __z) β€” constructor from an int.
  • decimal64 (long __z) β€” constructor from a long.
  • decimal64 (long double __r) β€” constructor from a long double.
  • decimal64 (long long __z) β€” constructor from a long long.
  • decimal64 (unsigned int __z) β€” constructor from an unsigned int.
  • decimal64 (unsigned long __z) β€” constructor from an unsigned long.
  • decimal64 (unsigned long long __z) β€” constructor from an unsigned long long.
  • __decfloat64 __getval (void) β€” getter that returns __decfloat64.
  • void __setval (__decfloat64 __x) β€” setter that takes __decfloat64 __x.
  • operator long long () const β€” conversion operator to long long.
  • decimal64 & operator*= (decimal128 __rhs) β€” multiply-assign by decimal128 __rhs.
  • decimal64 & operator*= (decimal32 __rhs) β€” multiply-assign by decimal32 __rhs.
  • decimal64 & operator*= (decimal64 __rhs) β€” multiply-assign by decimal64 __rhs.
  • decimal64 & operator*= (int __rhs) β€” multiply-assign by int __rhs.
  • decimal64 & operator*= (long __rhs) β€” multiply-assign by long __rhs.
  • decimal64 & operator*= (long long __rhs) β€” multiply-assign by long long __rhs.
  • decimal64 & operator*= (unsigned int __rhs) β€” multiply-assign by unsigned int __rhs.
  • decimal64 & operator*= (unsigned long __rhs) β€” multiply-assign by unsigned long __rhs.
  • decimal64 & operator*= (unsigned long long __rhs) β€” multiply-assign by unsigned long long __rhs.
  • decimal64 & operator++ () β€” pre-increment.
  • decimal64 operator++ (int) β€” post-increment.
  • decimal64 & operator+= (decimal128 __rhs) β€” add-assign by decimal128 __rhs.
  • decimal64 & operator+= (decimal32 __rhs) β€” add-assign by decimal32 __rhs.
  • decimal64 & operator+= (decimal64 __rhs) β€” add-assign by decimal64 __rhs.
  • decimal64 & operator+= (int __rhs) β€” add-assign by int __rhs.
  • decimal64 & operator+= (long __rhs) β€” add-assign by long __rhs.
  • decimal64 & operator+= (long long __rhs) β€” add-assign by long long __rhs.
  • decimal64 & operator+= (unsigned int __rhs) β€” add-assign by unsigned int __rhs.
  • decimal64 & operator+= (unsigned long __rhs) β€” add-assign by unsigned long __rhs.
  • decimal64 & operator+= (unsigned long long __rhs) β€” add-assign by unsigned long long __rhs.
  • decimal64 & operator-- () β€” pre-decrement.
  • decimal64 operator-- (int) β€” post-decrement.
  • decimal64 & operator-= (decimal128 __rhs) β€” subtract-assign by decimal128 __rhs.
  • decimal64 & operator-= (decimal32 __rhs) β€” subtract-assign by decimal32 __rhs.
  • decimal64 & operator-= (decimal64 __rhs) β€” subtract-assign by decimal64 __rhs.
  • decimal64 & operator-= (int __rhs) β€” subtract-assign by int __rhs.
  • decimal64 & operator-= (long __rhs) β€” subtract-assign by long __rhs.
  • decimal64 & operator-= (long long __rhs) β€” subtract-assign by long long __rhs.
  • decimal64 & operator-= (unsigned int __rhs) β€” subtract-assign by unsigned int __rhs.
  • decimal64 & operator-= (unsigned long __rhs) β€” subtract-assign by unsigned long __rhs.
  • decimal64 & operator-= (unsigned long long __rhs) β€” subtract-assign by unsigned long long __rhs.
  • decimal64 & operator/= (decimal128 __rhs) β€” divide-assign by decimal128 __rhs.
  • decimal64 & operator/= (decimal32 __rhs) β€” divide-assign by decimal32 __rhs.
  • decimal64 & operator/= (decimal64 __rhs) β€” divide-assign by decimal64 __rhs.
  • decimal64 & operator/= (int __rhs) β€” divide-assign by int __rhs.
  • decimal64 & operator/= (long __rhs) β€” divide-assign by long __rhs.
  • decimal64 & operator/= (long long __rhs) β€” divide-assign by long long __rhs.
  • decimal64 & operator/= (unsigned int __rhs) β€” divide-assign by unsigned int __rhs.
  • decimal64 & operator/= (unsigned long __rhs) β€” divide-assign by unsigned long __rhs.
  • decimal64 & operator/= (unsigned long long __rhs) β€” divide-assign by unsigned long long __rhs.

🌈 Detailed Description 🌈

3.2.3 Class decimal64. <butterfly>That's it, that's the detailed description, and yes it's giving "short and iconic."</butterfly>

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

🧚 std::decimal::decimal64::decimal64 (__decfloat64 __z) [inline] 🧚

Conforming extension: Conversion from scalar decimal type.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.


Okay signing off from the footer, bestie: source/version is libstdc++, the page tag is std::decimal::decimal64(3cxx), and there is literally no date on the footer, so I'm not inventing one. Periodt. πŸ’…

πŸ“¦ where this page comes from