diff mbox

Documentation complex logarithm https://gcc.gnu.org/onlinedocs/gfortran/LOG.html

Message ID 557D2838.1050207@netcologne.de
State New
Headers show

Commit Message

Thomas Koenig June 14, 2015, 7:07 a.m. UTC
Am 13.06.2015 um 18:33 schrieb Gerald Pfeifer:
> On Tue, 2 Jun 2015, C.Friedrich wrote:
>> The LOG function returns the principal value of the complex logarithm
>> whose imaginary part omega must be in the range -pi < omega <= pi.
>>
>> GFORTRAN does it correctly but the online documentation
>> https://gcc.gnu.org/onlinedocs/gfortran/LOG.html gives -pi <= omega <=
>> pi. Perhaps this should be corrected.
> 
> Let me redirect this to the fortran@gcc.gnu.org list.

Fixed on trunk as obvious after checking that 'make info', 'make dvi'
and 'make pdf' still work.

Will backport to gcc 5.

Regards

	Thomas

 @smallexample

2015-06-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* intrinsic.texi:  Change \leq to < in descrition of imaginary
	part in argument to log.
diff mbox

Patch

--- intrinsic.texi      (Revision 224450)
+++ intrinsic.texi      (Arbeitskopie)
@@ -8712,7 +8712,7 @@ 
 The return value is of type @code{REAL} or @code{COMPLEX}.
 The kind type parameter is the same as @var{X}.
 If @var{X} is @code{COMPLEX}, the imaginary part @math{\omega} is in
the range
-@math{-\pi \leq \omega \leq \pi}.
+@math{-\pi < \omega \leq \pi}.

 @item @emph{Example}: