From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path: GCC 13 implements in C++ excess precision support
> +which has been implemented just in the C front-end before. The new behavior is
> +enabled by default in GCC 13 implements in C++ excess precision support
-which has been before implemented just in the C front end. The new behavior is
-enabled by default in GCC 13 implements excess precision
+support, which was implemented just in the C front end
+before, in C++. The new behavior is enabled by default in
+ E.g. for -std=c++
NN modes and when
> +FLT_EVAL_METHOD
is 1 or 2 affects behavior of floating point
^^^^^^
> +constants and expressions. E.g. for FLT_EVAL_METHOD
equal
> +to 2 on ia32:
:
> +will not abort with standard excess precision, because constants and expressions
> +in float
or double
are evaluated in precision of
> +long double
and demoted only on casts or assignments, but will
> +abort with fast excess precision, where whether something is evaluated in
> +precision of long double
or not depends on what evaluations are
> +done in the i387 floating point stack or are spilled from it.
> +
> +The -fexcess-precision=fast
option can be used to request the
> +previous behavior.
I struggled a bit understanding this and so have come up with what I
hope is simpler (without changing the meaning).
What do you think of the change below?
Gerald
diff --git a/htdocs/gcc-13/porting_to.html b/htdocs/gcc-13/porting_to.html
index 170da096..8a2822ff 100644
--- a/htdocs/gcc-13/porting_to.html
+++ b/htdocs/gcc-13/porting_to.html
@@ -122,12 +122,14 @@ the operand as an lvalue.
Excess precision changes
--std=c++
NN modes and e.g. when
-FLT_EVAL_METHOD
is 1 or 2 affects behavior of floating point
-constants and expressions. E.g. for FLT_EVAL_METHOD
equal
-to 2 on ia32:
+-std=c++
NN modes and when
+FLT_EVAL_METHOD
is 1 or 2 and affects the behavior of
+floating point constants and expressions.FLT_EVAL_METHOD
equal to 2 on ia32
#include <stdlib.h>
@@ -139,11 +141,11 @@ will not abort with standard excess precision, because constants and expressions
in
float
or double
are evaluated in precision of
long double
and demoted only on casts or assignments, but will
abort with fast excess precision, where whether something is evaluated in
-precision of long double
or not depends on what evaluations are
-done in the i387 floating point stack or are spilled from it.
+long double
precision depends on what evaluations are
+done in the i387 floating point stack or are spilled from it.
-fexcess-precision=fast
option can be used to request the
-previous behavior.
+The -fexcess-precision=fast
option can be used to
+request the previous behavior.