delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/19/17:38:28

Sender: nate AT cartsys DOT com
Message-ID: <35B24D72.8BED0233@cartsys.com>
Date: Sun, 19 Jul 1998 12:48:02 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
MIME-Version: 1.0
To: KillFerFun <killferfun AT aol DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: Dumb question...
References: <1998071506223000 DOT CAA12629 AT ladder01 DOT news DOT aol DOT com>

KillFerFun wrote:
> 
> What exactly is a Floating Point Exception?

An interrupt generated by the 387 (or conceptual 387, if you have a
486DX or above).  It is triggered whenever some event occurs for which
the 387's control word says to generate one.  With DJGPP, that typically
includes use of NaN or Inf, and all the math operations that cause them
(division by 0, sqrt(negative), log(negative), etc.)  In DJGPP, integer
division by 0 also causes SIGFPE.

For more info, see an Intel manual, or some other source.
-- 

Nate Eldredge
nate AT cartsys DOT com


- Raw text -


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