>While Steven was reading other messages, Christian Felde wrote:
CF>> Hi all...
>Hey Christian...
>
CF>> Her's the source code:
>>
CF>> float pi; // Here's your problem.
> // Try using double instead of float.
> double pi; // This works fine on my compiler. (Turbo Borland v3.0 DOS)
>>
CF>> Can you help me? If you can, then thanx...
>I believe that floats have very low limits as to decimals... so I think
>that it might be this problem... (it might have truncated the last number,
>which makes it not equal. ) That's just my guess.
I'm gonna try that right now......yes.. it work's.. thanx again..
__ __ __ __ _ _
/_ // / // ///\// email: cfelde@online.no
_ _ __ __//_ /_//_//_/// homepage: http://home.sol.no/~cfelde/
--- BBBS/L v3.33 How
---------------
* Origin: Fluxpod Information eXchange, telnet://fix.no (2:210/30)
|