std::decimal::decimal64(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 6 versions
, in arch rolling, fedora 44

🌸 std::decimal::decimal64 🌸

okay bestie, gather round, because we're talking about std::decimal::decimal64 β€” that's 3.2.3 Class decimal64, straight outta the std::decimal corner of libstdc++. it's giving exactly-what-it-says-on-the-tin and we're obsessed πŸ’…


✨ NAME ✨

std::decimal::decimal64 β€” 3.2.3 Class decimal64. that's the whole name, no notes πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <decimal>

πŸ’œ Public Types πŸ’œ

  • typedef float __decfloat64 β€” the underlying float type it's wrapping, periodt.

πŸŽ€ Public Member Functions πŸŽ€

  • decimal64 (__decfloat64 __z) β€” Conforming extension: Conversion from scalar decimal type.
  • 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)

ngl that's a lot of overloads and every single one of them ate πŸ”₯ like, constructor for every numeric type you could throw at it? slay. compound assignment for every type too? main character energy fr fr.


🌈 Detailed Description 🌈

3.2.3 Class decimal64. that's it, that's the vibe 🫢


πŸ’– Constructor & Destructor Documentation πŸ’–

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

Conforming extension: Conversion from scalar decimal type. it's inline, it converts, it's iconic ✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. so like, no human wrote this by hand, a robot did, and honestly? the robot devoured πŸ’€


lowkey reminder bestie: this page is the std::decimal::decimal64(3) manpage from libstdc++, living in the Library Functions Manual section 3 β€” so if you need it again, it's right there under std::decimal::decimal64(3). mwah, go forth and compile πŸŽ€πŸ’–
πŸ“¦ where this page comes from
  • arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: libstdc++-docs 16.2.1-2.fc44
  • fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms