public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "janis at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58815] Casting/Conversion operator for std::decimal not supported Date: Mon, 21 Oct 2013 23:38:00 -0000 [thread overview] Message-ID: <bug-58815-4-OIaAEfENBZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58815-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58815 --- Comment #4 from Janis Johnson <janis at gcc dot gnu.org> --- I vaguely remember a problem with those conversion and have no idea now what it was, but I'll try to find something in the mailing list archives. <decimal/decimal> includes a workaround: /// Non-conforming extension: Conversion to integral type. long long decimal32_to_long_long(decimal32 __d); long long decimal64_to_long_long(decimal64 __d); long long decimal128_to_long_long(decimal128 __d); long long decimal_to_long_long(decimal32 __d); long long decimal_to_long_long(decimal64 __d); long long decimal_to_long_long(decimal128 __d);
next prev parent reply other threads:[~2013-10-21 23:38 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-10-20 17:34 [Bug c++/58815] New: " q1 at oxyba dot de 2013-10-20 17:59 ` [Bug c++/58815] " daniel.kruegler at googlemail dot com 2013-10-21 21:50 ` q1 at oxyba dot de 2013-10-21 23:38 ` janis at gcc dot gnu.org [this message] 2013-10-21 23:50 ` janis at gcc dot gnu.org 2013-10-22 9:04 ` paolo.carlini at oracle dot com 2013-10-22 9:11 ` paolo.carlini at oracle dot com 2013-10-22 9:12 ` daniel.kruegler at googlemail dot com 2013-10-22 15:29 ` janis at gcc dot gnu.org 2013-10-22 15:43 ` paolo.carlini at oracle dot com 2013-10-22 17:43 ` q1 at oxyba dot de 2013-10-22 18:07 ` janis at gcc dot gnu.org 2013-10-22 18:20 ` paolo.carlini at oracle dot com 2013-10-22 20:02 ` [Bug libstdc++/58815] " paolo.carlini at oracle dot com 2013-10-23 11:48 ` paolo at gcc dot gnu.org 2013-10-23 11:50 ` paolo.carlini at oracle dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-58815-4-OIaAEfENBZ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).