delorie.com/archives/browse.cgi | search |
From: | leathm AT solwarra DOT gbrmpa DOT gov DOT au (Leath Muller) |
Message-Id: | <199710120922.TAA12993@solwarra.gbrmpa.gov.au> |
Subject: | Re: DJGPP, floating point problems?!? |
To: | rwh AT worldonline DOT nl |
Date: | Sun, 12 Oct 1997 19:22:47 +1000 (EST) |
Cc: | djgpp AT delorie DOT com |
In-Reply-To: | <343FEFAC.587C3829@worldonline.nl> from "Reinier Heeres" at Oct 11, 97 11:29:18 pm |
> 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??? Have you tried p->s_x = (int) p->r_v.x; If this produces exceptions, post a snippet of code and a list of your system hardware, ie: Do you have an FPU or software emulating? Leathal.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |