|
|
back to boardstuPId I used PI=3.14159265358 in my program and got WA5 many times. When I added a few digits to PI, I got AC! Re: stuPId That's cause the last digit should be 9 with the occuracy you use. ;-) Re: stuPId Posted by KAV 12 Feb 2006 13:50 To avoid such situation, write in the following way: pi = 2 * acos( 0. ); |
|
|