delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/06/11/19:10:54

From: drupp AT cs DOT washington DOT edu (Douglas Rupp)
Message-Id: <199606112308.QAA28587@june.cs.washington.edu>
Subject: Bug in 387 emulator
To: djgpp-workers AT delorie DOT com
Date: Tue, 11 Jun 1996 16:08:21 -0700 (PDT)
MIME-Version: 1.0

It seems like the coprocessor emulators and libraries don't work with 
signals.  This small program doesn't get SIGFPE when run under either
emu387 or wmemu387:

main()
{
  float f = 0.0;
  f = 1.0 / f;
}

Of course no one would do this is practice, but the FSU pthreads library
uses signal handling and it doesn't seem to work at all
with floating point emulation.  So it might be related to the above.

Does anybody know what's going on?

- Raw text -


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