On Aug 16, 2016, at 12:07 PM, Anton Shterenlikht <[log in to unmask]> wrote:
>> The Fortran standard says the result is supposed to be
>> the principal value, which is +2i.
>
> I missed that.
> Where does it say so?
The sentence just before the one you quoted. "A result of type complex is the principal value with the real part greater than or equal to zero.”
Cheers,
Bill
>
> Thanks
>
> Anton
Bill Long [log in to unmask]
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
|