Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 27 Nov 2003 16:06:30 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: pow math function pb. Message-ID: <20031127150630.GO26514@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <42736 DOT 193 DOT 194 DOT 133 DOT 6 DOT 1069943991 DOT squirrel AT jose DOT freesurf DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42736.193.194.133.6.1069943991.squirrel@jose.freesurf.fr> User-Agent: Mutt/1.4.1i On Thu, Nov 27, 2003 at 03:39:51PM +0100, ycollet AT freesurf DOT fr wrote: > Hello, > > I've tried this program under cygwin: > > #include > > 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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/