Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 27 Nov 2003 10:29:17 -0500
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: pow math function pb.
Message-ID: <20031127152917.GB28068@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <42736.193.194.133.6.1069943991.squirrel@jose.freesurf.fr> <20031127150630.GO26514@cygbert.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20031127150630.GO26514@cygbert.vinschen.de>
User-Agent: Mutt/1.4.1i

On Thu, Nov 27, 2003 at 04:06:30PM +0100, Corinna Vinschen wrote:
>On Thu, Nov 27, 2003 at 03:39:51PM +0100, ycollet@freesurf.fr wrote:
>> Hello,
>> 
>> I've tried this program under cygwin:
>> 
>> #include <math.h>
>> 
>> int main()
>> {
>>   printf("%lf\n", pow(2,8));
>>   return 0;
>> }
>> 
>> This program returns 8 instead of 256.
>> I've tried pow(2.0,8), pow(2.0, 8.0), etc ... Seems to me that I've found
>> a bug ?
>
>Works for me with Cygwin 1.5.5 and recent developer snapshots.  You
>didn't tell anything about the version you're using.

And that's one of the reasons why we don't have a bugzilla page...

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

