diff mbox series

[V2] Document -fexcess-precision=16.

Message ID 20240320010923.3141911-1-hongtao.liu@intel.com
State New
Headers show
Series [V2] Document -fexcess-precision=16. | expand

Commit Message

Liu, Hongtao March 20, 2024, 1:09 a.m. UTC
gcc/ChangeLog:

	* doc/invoke.texi: Document -fexcess-precision=16.
---
 gcc/doc/invoke.texi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Joseph Myers March 20, 2024, 9:10 p.m. UTC | #1
On Wed, 20 Mar 2024, liuhongt wrote:

> gcc/ChangeLog:
> 
> 	* doc/invoke.texi: Document -fexcess-precision=16.

OK.
diff mbox series

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 85c938d4a14..6bc1ebf9721 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14930,6 +14930,9 @@  assignments).  This option is enabled by default for C or C++ if a strict
 conformance option such as @option{-std=c99} or @option{-std=c++17} is used.
 @option{-ffast-math} enables @option{-fexcess-precision=fast} by default
 regardless of whether a strict conformance option is used.
+If @option{-fexcess-precision=16} is specified, constants and the
+results of expressions with types @code{_Float16} and @code{__bf16}
+are computed without excess precision.
 
 @opindex mfpmath
 @option{-fexcess-precision=standard} is not implemented for languages