public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Documentation complex logarithm https://gcc.gnu.org/onlinedocs/gfortran/LOG.html
       [not found] ` <alpine.LSU.2.20.1506131832530.2244@tuna.site>
@ 2015-06-14  8:56   ` Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2015-06-14  8:56 UTC (permalink / raw)
  To: Gerald Pfeifer, C.Friedrich, fortran; +Cc: gcc, gcc-patches

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

--- 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}:
 @smallexample

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

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-14  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <556D82BF.4060405@fz-juelich.de>
     [not found] ` <alpine.LSU.2.20.1506131832530.2244@tuna.site>
2015-06-14  8:56   ` Documentation complex logarithm https://gcc.gnu.org/onlinedocs/gfortran/LOG.html Thomas Koenig

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).