Re: [Mingw-msys] [mingw - MSYS] bash empty for-loop
- Date: Fri, 7 Sep 2007 22:41:14 +0200 (CEST)
- From: Vincent Torri <vtorri@xxxxxxxxxxxx>
- Subject: Re: [Mingw-msys] {Spam?} Re: pow(5,2)=24 ?????!!!!!
On Fri, 7 Sep 2007, Michael Chen wrote:
> int s = (int) pow(l,d);
> printf("%d\t%d\t%d\n",l,d,s);
>
>
> And I tried several (l,d), results are:
> 2 2 4
> 3 2 9
> 4 2 16
> 5 2 24 <= this one is wrong
> 6 2 36
> ....
>
> What shall I use then? my variable s, l, and d are integers!
5 * 5 maybe ?
Vincent
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mingw-msys mailing list
Mingw-msys@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/mingw-msys