cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/16/04:31:52

From: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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
	  |	<fabrice AT asim DOT lip6 DOT fr>
	  |
	  |
	  -

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019