www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/17/13:09:45

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2707
Newsgroups: comp.os.msdos.djgpp
Path: news-dnh.mv.net!mv!news.sprintlink.net!in1.uu.net!psinntp!psinntp!psinntp!psinntp!netrixgw.netrix.com!root
From: ld AT jasmine DOT netrix DOT com (Long Doan)
Subject: Re: Q: Floating point exceptions handling. How ?
Lines: 23
Sender: root AT netrix DOT com
Organization: Netrix Corporation
References: <DGHnKF DOT 90p AT jade DOT mv DOT net>
Date: Mon, 16 Oct 1995 17:21:13 GMT
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

In article <DGHnKF DOT 90p AT jade DOT mv DOT net> Vladimir Pshenkin <PSHENKIN AT main DOT econ DOT msu DOT su> writes:

> Please help!
> I use a lot of numerical methodth in my project - but now
> I have a seriouse problem - how can I handle SIGFPE under GCC ?
> Any solutions ?
> signal(...) doesn't works. why ?

1. In version 2+, signal () should work.
2. In version 1.xx, DPMI mode, you need to have a DPMI host that can
   emulate the FPU (Windows' ???)
3. In version 1.xx, non-DPMI mode, just write a handler for the
   apropriate exception, and use _go32_dpmi_... to install it. Or you can
   just use a emulator (emu387 or something).

Long.
-- 
==============================================================
Long Doan                                        ld AT netrix DOT com     
Netrix Corporation                         ldoan1 AT osf1 DOT gmu DOT edu
13595 Dulles Technology Drive                               
Herndon Va 22071
==============================================================

- Raw text -


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