public inbox for gcc-cvs-wwwdocs@sourceware.org help / color / mirror / Atom feed
From: Gerald Pfeifer <gerald@sourceware.org> To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 300a5505eeb55cef873ec486baf5164d9836acec Date: Thu, 9 Mar 2023 23:57:08 +0000 (GMT) [thread overview] Message-ID: <20230309235708.97C723858C5E@sourceware.org> (raw) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 300a5505eeb55cef873ec486baf5164d9836acec (commit) from 3c2b5596f903812a072eaad17e7f7c7e74f17440 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 300a5505eeb55cef873ec486baf5164d9836acec Author: Gerald Pfeifer <gerald@pfeifer.com> Date: Fri Mar 10 00:55:23 2023 +0100 gcc-13: Revise the excess precision support section Improve and simplify language. Add a bit more structure by breaking out two new paragraphs. diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html index 170da096..6ac9cb7f 100644 --- a/htdocs/gcc-13/porting_to.html +++ b/htdocs/gcc-13/porting_to.html @@ -122,12 +122,14 @@ the operand as an lvalue.<br> <h3 id="excess-precision">Excess precision changes</h3> -<p>GCC 13 implements in C++ <a href="changes.html#cxx">excess precision support</a> -which has been before implemented just in the C front end. The new behavior is -enabled by default in <code>-std=c++</code><em>NN</em> modes and e.g. when -<code>FLT_EVAL_METHOD</code> is 1 or 2 affects behavior of floating point -constants and expressions. E.g. for <code>FLT_EVAL_METHOD</code> equal -to 2 on ia32: +<p>GCC 13 implements <a href="changes.html#cxx">excess precision +support</a>, which was implemented just in the C front end before, +in C++. The new behavior is enabled by default in +<code>-std=c++</code><em>NN</em> modes and when +<code>FLT_EVAL_METHOD</code> is 1 or 2 and affects the behavior of +floating point constants and expressions.</p> + +<p>E.g. for <code>FLT_EVAL_METHOD</code> equal to 2 on ia32 <pre><code> #include <stdlib.h> @@ -139,11 +141,11 @@ will not abort with standard excess precision, because constants and expressions in <code>float</code> or <code>double</code> are evaluated in precision of <code>long double</code> and demoted only on casts or assignments, but will abort with fast excess precision, where whether something is evaluated in -precision of <code>long double</code> or not depends on what evaluations are -done in the i387 floating point stack or are spilled from it. +<code>long double</code> precision depends on what evaluations are +done in the i387 floating point stack or are spilled from it.</p> -The <code>-fexcess-precision=fast</code> option can be used to request the -previous behavior. +</p>The <code>-fexcess-precision=fast</code> option can be used to +request the previous behavior.</p> <h3 id="alloc-rebind">allocator_traits<A>::rebind_alloc<A::value_type> must be A</h3> ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/porting_to.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) hooks/post-receive -- gcc-wwwdocs
reply other threads:[~2023-03-09 23:57 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230309235708.97C723858C5E@sourceware.org \ --to=gerald@sourceware.org \ --cc=gcc-cvs-wwwdocs@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).