X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <940968.31910.qm@web25508.mail.ukl.yahoo.com> Date: Tue, 1 Sep 2009 16:21:44 +0000 (GMT) From: Marco Atzeri Subject: std::arg() bug : not repetitive ? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-967799276-1251822104=:31910" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --0-967799276-1251822104=:31910 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi DaveK, the following test case on complex numbers=20 is producing, puzzling result on cygwin (both 1.5 and 1,7)=20 with gcc-4.3.2 (and also 3.4.4), while working on other platform: #include #include "oct-cmplx.h" int main () { Complex z1 (1.0, 1.0), z2 (1.0, 1.0); std::cout << (arg(z1)) << '\n'; std::cout << (arg(z2)) << '\n'; std::cout << (arg(z1)