Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D60AF790C for ; Tue, 6 Sep 2011 14:07:32 +0000 (UTC) Received: (qmail 48859 invoked by uid 500); 6 Sep 2011 14:07:32 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 48634 invoked by uid 500); 6 Sep 2011 14:07:31 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 48625 invoked by uid 99); 6 Sep 2011 14:07:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 14:07:31 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2011 14:07:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DF7B783C23 for ; Tue, 6 Sep 2011 14:07:09 +0000 (UTC) Date: Tue, 6 Sep 2011 14:07:09 +0000 (UTC) From: =?utf-8?Q?Arne_Pl=C3=B6se_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <696206730.20462.1315318029912.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <87062111.12775.1310633939873.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MATH-620) multiplication of infinity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MATH-620?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Arne Pl=C3=B6se updated MATH-620: ---------------------------- Attachment: ComplexOctaveTest.java Here is the comparision between commons math and octave. I hope this what you want Gilles ;-). > multiplication of infinity > -------------------------- > > Key: MATH-620 > URL: https://issues.apache.org/jira/browse/MATH-620 > Project: Commons Math > Issue Type: Bug > Affects Versions: 3.0 > Reporter: Arne Pl=C3=B6se > Priority: Minor > Attachments: ComplexOctaveTest.java > > > Take the following testcase=20 > {code} > Assert.assertEquals(neginf, inf* neginf, Double.MIN_VALUE); // <--Passes= ordinary double > Assert.assertEquals(new Complex(neginf, 0), new Complex(inf, 0).multiply(= new Complex(neginf, 0)));// <-- Fail only real parts no imaginary parts=20 > {code} > The outcome of multiply is Complex.INF if one part is infinity. > why not simply compute the multiplication and thats is? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira