From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: newlib@sourceware.org
Cc: Vincent.Lefevre@ens-lyon.fr
Subject: [PATCH] frexpl: Support smaller long double.
Date: Thu, 02 Dec 2021 09:07:43 +0100 [thread overview]
Message-ID: <mwr1av1lbk.fsf@tomate.loria.fr> (raw)
about https://sourceware.org/pipermail/newlib/2021/018738.html:
> This patch add support for smaller long double, LDBL_MANT_DIG is 24 or 53.
are you sure LDBL_MANT_DIG can be 24 in radix 2? As far as I know, the standard
requires LDBL_DIG >= 10, and a floating-point number with LDBL_DIG decimal
digits should be converted to a long double and back to LDBL_DIG digits
without any modification, which requires LDBL_MANT_DIG >= 34.
Also the standard says in 6.2.5: "the set of values of the
type double is a subset of the set of values of the type long double."
Paul Zimmermann
next reply other threads:[~2021-12-02 8:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 8:07 Paul Zimmermann [this message]
2021-12-02 9:50 ` Takashi Yano
-- strict thread matches above, loose matches on Subject: below --
2021-12-01 19:34 Takashi Yano
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=mwr1av1lbk.fsf@tomate.loria.fr \
--to=paul.zimmermann@inria.fr \
--cc=Vincent.Lefevre@ens-lyon.fr \
--cc=newlib@sourceware.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: link
Be 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).