On 1/2/25 20:22, Maciej W. Rozycki wrote:
On Tue, 31 Dec 2024, Sandra Loosemore wrote:diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index d11d37761d9..b47180126ca 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -1577,7 +1577,7 @@ if @var{Y} is present, @var{X} shall be REAL. @item @emph{Return value}: The return value is of the same type and kind as @var{X}. If @var{Y} is present, the result is identical to @code{ATAN2(Y,X)}. -Otherwise, it the arcus tangent of @var{X}, where the real part of +Otherwise, it the arctangent of @var{X}, where the real part of^^^^^^ s/it the/it is the/ presumably?
Gah, how did I miss that? :-( (Maybe it's time for a brain transplant...) I've fixed it now with the attached obvious patch, anyway.
-Sandra
From 15a74614c87aa8c4da069ec5442b0f72c1af0465 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore <[email protected]> Date: Fri, 3 Jan 2025 04:02:44 +0000 Subject: [PATCH] Fortran: Fix typo in ATAN documentation. gcc/fortran/ChangeLog * intrinsic.texi (ATAN): Add missing verb. --- gcc/fortran/intrinsic.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index bb6be0c387c..7c7e4c9372b 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -1577,7 +1577,7 @@ if @var{Y} is present, @var{X} shall be REAL. @item @emph{Return value}: The return value is of the same type and kind as @var{X}. If @var{Y} is present, the result is identical to @code{ATAN2(Y,X)}. -Otherwise, it the arctangent of @var{X}, where the real part of +Otherwise, it is the arctangent of @var{X}, where the real part of the result is in radians and lies in the range @math{-\pi/2 \leq \Re \atan(x) \leq \pi/2}. -- 2.34.1
