From: Fabrice ILPONSE Newsgroups: comp.os.msdos.djgpp Subject: bug??!!?? using cast from double to int Date: Mon, 16 Mar 1998 10:21:21 +0100 Organization: Universites Paris VI/Paris VII - France Lines: 16 Message-ID: <350CEF11.DCD@trash.lip6.fr> NNTP-Posting-Host: asim.lip6.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi!! I've downloaded the "ncurve3" program from that create curves. It uses doubles for coordonates but I cast them to int for my purpose. Sometimes, my prog exist on FPE. I don't know why! (it's really the cast) . So i changed the doubles to floats and it works well. Question: is it a gcc bug? -- ^ ^ ^ | | | +-+-+ Fabrice ILPONSE | | | -