TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRISTIAN FELDE
from: STEVEN LEI
date: 1997-11-05 18:24: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.
                                Steven Lei
From: Las Vegas, Nevada, USA
E-mail = SpewMuffin@Juno.Com
... Disc space - the final frontier!
___ Blue Wave/DOS v2.30 [NR]
--- PCBoard (R) v15.21/M 2
---------------
* Origin: The Board running PCBoard 15.21 (702) 221-0083 (1:209/222)

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™.