summaryrefslogtreecommitdiff
path: root/src/get_d128.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-07-12 00:36:22 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2020-07-12 00:36:22 +0000
commitbb89d0c5254f94dbdb7159295fc55f3ccf492494 (patch)
tree0a8a31e2bd615e1344f64552dec144e05466cadb /src/get_d128.c
parent3a58a02190f6edc32ea63fe2a15bafe4280afd14 (diff)
downloadmpfr-bb89d0c5254f94dbdb7159295fc55f3ccf492494.tar.gz
[src/get_d128.c] Added a FIXME to work around GCC bug 96173.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@14074 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/get_d128.c')
-rw-r--r--src/get_d128.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/get_d128.c b/src/get_d128.c
index 69b1d2064..12355314f 100644
--- a/src/get_d128.c
+++ b/src/get_d128.c
@@ -36,6 +36,16 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# define DEC128_MAX 9.999999999999999999999999999999999E6144dl
#endif
+/* FIXME: The double to _Decimal128 conversions
+ * (_Decimal128) MPFR_DBL_NAN
+ * (_Decimal128) (negative ? MPFR_DBL_INFM : MPFR_DBL_INFP)
+ * below makes GCC generate 3 MB of code:
+ * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96173
+ * https://gforge.inria.fr/tracker/index.php?func=detail&aid=21849&group_id=136&atid=619
+ * They could be avoided by accessing the fields directly like
+ * in get_d64.c for _Decimal64.
+ */
+
/* construct a decimal128 NaN */
static _Decimal128
get_decimal128_nan (void)