From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A789B38518B7; Fri, 18 Nov 2022 23:47:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A789B38518B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668815228; bh=Xt7QAowXpP5BfAKrM++E+iSUDGsiTJNp35gos7Jn+qA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=pHzJdA82LSrykt26Lr82yksnNb9s7NZehrDR1gV+j+/Gf8AcgmcocpFJeHkpOu70I DMiwhlY+ZwQ3CynK+cyHsbOJ7T8ZoRfasH05ZaIyZCUhQwC6CtwAXbY6RO1Zj713lC u0x5837hWm1PQEJ9Hh6bqCXa3T26iJyC1diJNRqk= From: "weslley.pereira at ucdenver dot edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107753] gfortran returns NaN in complex divisions (x+x*I)/(x+x*I) and (x+x*I)/(x-x*I) Date: Fri, 18 Nov 2022 23:47:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weslley.pereira at ucdenver dot edu X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107753 --- Comment #8 from Weslley da Silva Pereira --- Created attachment 53927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53927&action=3Dedit Test case with many examples of complex division Test code used in LAPACK 3.11.0. Code extracted from https://github.com/Reference-LAPACK/lapack/blob/master/INSTALL/test_zcomple= xdiv.f=