delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/11/19:31:12

From: Reinier Heeres <rwh AT worldonline DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP, floating point problems?!?
Date: Sat, 11 Oct 1997 23:29:18 +0200
Organization: World Online
Lines: 14
Message-ID: <343FEFAC.587C3829@worldonline.nl>
Reply-To: rwh AT worldonline DOT nl
NNTP-Posting-Host: alkmr1-p124.worldonline.nl
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi!

It seems to me that DJGPP v2.0 has some trouble with floating point,
look at this code:

p->s_x=p->r_v.x;

(Where s_x is an int, and r_v.x is a float)

This code will always produce a floating point exceptions, why??? Can
anybody please help me to solve this???

Reinier

- Raw text -


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