Date: Sat, 26 May 2001 10:02:59 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Patrick Mitran" 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: (pmitran AT tsp DOT ece DOT mcgill DOT ca) Subject: Re: long doubles and other FP questions References: 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 Precedence: bulk > From: "Patrick Mitran" > 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.