From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23993 invoked by alias); 4 May 2010 11:52:30 -0000 Received: (qmail 23980 invoked by uid 22791); 4 May 2010 11:52:29 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_05,RDNS_DYNAMIC,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 66-199-228-187.reverse.ezzi.net (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 04 May 2010 11:52:26 +0000 Date: Tue, 04 May 2010 11:52:00 -0000 Message-ID: From: Brian Gough To: Rhys Ulerich Cc: gsl-discuss@sourceware.org Subject: Re: gsl_complex_pow_real(gsl_complex_rect(0,0),0) returns (0,0) In-Reply-To: References: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Message-Mac: 27b6019a9827687d844fb7fbd23f19d2 Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00006.txt.bz2 At Mon, 3 May 2010 13:40:46 -0500, Rhys Ulerich wrote: > I've not seen any references to this on the mailing list or in > savannah. Let me know if you'd like me to file a bug. Thanks for finding that. Please do file a bug in the tracker at http://savannah.gnu.org/bugs/?group=gsl. (A patch and test case would also be handy!) Looking at the source, there's an explicit check for 0^0 in gsl_complex_pow but it is missing from gsl_complex_pow_real, so it looks like a simple oversight. -- Brian Gough GNU Scientific Library - http://www.gnu.org/software/gsl/