delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/26/03:04:17

Date: Sat, 26 May 2001 10:02:59 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Patrick Mitran" <pmitran AT tsp DOT ece DOT mcgill DOT ca>
Message-Id: <2950-Sat26May2001100259+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <M3yP6.8$Od6.16292@carnaval.risq.qc.ca>
(pmitran AT tsp DOT ece DOT mcgill DOT ca)
Subject: Re: long doubles and other FP questions
References: <M3yP6.8$Od6 DOT 16292 AT carnaval DOT risq DOT qc DOT ca>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Patrick Mitran" <pmitran AT tsp DOT ece DOT mcgill DOT ca>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 25 May 2001 19:07:24 GMT
> 
> 1.  How does djgpp behave with respect to long doubles? Are they padded to
> make the length 12 bytes?

Yes.

> When they are stored, is the extra padding set to any value or is it
> just garbage?

Garbage.

> 2. Is there a way to determine if my program is generating floating point
> exceptions?

DJGPP masks all numeric exceptions, so you get Inf's and NaN's
instead.

> The ideal would be to specify a call back function.

Look up matherr in the library reference.

- Raw text -


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