From nakama at ki.rim.or.jp  Thu Oct  2 17:25:34 2014
From: nakama at ki.rim.or.jp (Ei-ji Nakama)
Date: Fri, 3 Oct 2014 00:25:34 +0900
Subject: [Rd] Intel Fortran compiler returns a -1 TRUE value
In-Reply-To: <CANVKczM_RkKjX_8U62Zb4BG=afNin3t=bjMb+CJKLEv6O2U-DQ@mail.gmail.com>
References: <CANVKczM_RkKjX_8U62Zb4BG=afNin3t=bjMb+CJKLEv6O2U-DQ@mail.gmail.com>
Message-ID: <CAJqeyYbSfH2DOU8e_YNwwq_=7hvMrbcJumfgQ7UvfXbSgmJWxA@mail.gmail.com>

Hello

> The value generated by Fortran's .TRUE. evaluates as "truthy" -- as in
> all(z[[1]]) -- but is neither equal to nor identical to TRUE. Its numeric
> conversion to -1 is most unusual, every other system I've tried converts to
> +1.

Please read the -fpscomp logicals option of ifort.

--
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>



[Rd] Intel Fortran compiler returns a -1 TRUE value
Ei-ji Nakama