home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text3840.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  1.7 KB  |  40 lines

  1.     id m0u3QUd-0007rFa; Sun, 31 Mar 96 10:00 MST
  2. Sender: owner-executor
  3. Received: by ftp.ardi.com (Smail3.1.29.1 #3)
  4.     id m0u3QD6-0007rHC; Sun, 31 Mar 96 09:42 MST
  5. Received: by gwar.ardi.com (Smail3.1.29.1 #3)
  6. References: <4j6t3b$r9a@rs18.hrz.th-darmstadt.de>
  7. Message-id: <m0u3QBZ-000GOKC@gwar.ardi.com>
  8. Subject: Re: Floating Point Exceptions in Executor
  9. Cc: executor@ardi.com
  10. Newsgroups: comp.emulators.mac.executor
  11. In-reply-to: <4j6t3b$r9a@rs18.hrz.th-darmstadt.de>
  12. To: alexlehm@rbg.informatik.th-darmstadt.de (Alexander Lehmann)
  13. Date: Sun, 31 Mar 96 09:41 MST
  14. From: mat@ardi.com (Mat Hostetter)
  15. Sender: owner-executor@ardi.com
  16. Precedence: bulk
  17.  
  18. >>>>> "Alexander" == Alexander Lehmann <alexlehm@rbg.informatik.th-darmstadt.de> writes:
  19.  
  20.     Alexander> Apparently, it depends on the CPU whether FPEs are
  21.     Alexander> caught or not I just compiled a small test program on
  22.     Alexander> m68k and hppa on hpux and on Solaris/sparc.  On the
  23.     Alexander> motorola CPU, the program caused a core dump on the
  24.     Alexander> other one it run returns a Inf value.  I have no idea
  25.     Alexander> how this is handled on Macs, since the program I tested
  26.     Alexander> apparently runs on real Macs, I would guess that it
  27.     Alexander> just ignores the exception. If this is the case, then
  28.     Alexander> Executor should do to.
  29.  
  30. SANE allows programs to set what happens on divide-by-zero.
  31. Executor's SANE implementation doesn't properly handle signaling
  32. exceptions, but it *does* work properly if the program requests that
  33. division by zero not cause an exception and instead generate +/-Inf.
  34.  
  35. I would guess that the division by zero really isn't supposed to
  36. happen (and doesn't happen when the program is run on a real Mac).
  37.  
  38. -Mat
  39.  
  40.