TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: STEVEN LEI
from: CHRISTIAN FELDE
date: 1997-11-13 18:00:00
subject: What`s wrong?

>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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.