This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Documentation complex logarithm https://gcc.gnu.org/onlinedocs/gfortran/LOG.html
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: "C.Friedrich" <c dot friedrich at fz-juelich dot de>, fortran at gcc dot gnu dot org
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 13 Jun 2015 18:33:14 +0200 (CEST)
- Subject: Re: Documentation complex logarithm https://gcc.gnu.org/onlinedocs/gfortran/LOG.html
- Authentication-results: sourceware.org; auth=none
- References: <556D82BF dot 4060405 at fz-juelich dot de>
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.
Gerald