This is the mail archive of the
mailing list for the Cygwin project.
Re: pow math function pb.
On Thu, Nov 27, 2003 at 03:39:51PM +0100, firstname.lastname@example.org wrote:
> 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.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html