public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 300a5505eeb55cef873ec486baf5164d9836acec
@ 2023-03-09 23:57 Gerald Pfeifer
0 siblings, 0 replies; only message in thread
From: Gerald Pfeifer @ 2023-03-09 23:57 UTC (permalink / raw)
To: gcc-cvs-wwwdocs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-09 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 23:57 gcc-wwwdocs branch master updated. 300a5505eeb55cef873ec486baf5164d9836acec Gerald Pfeifer
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).