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

  1. >>>>> "Alexander" == Alexander Lehmann <alexlehm@rbg.informatik.th-darmstadt.de> writes:
  2.  
  3.     Alexander> Apparently, it depends on the CPU whether FPEs are
  4.     Alexander> caught or not I just compiled a small test program on
  5.     Alexander> m68k and hppa on hpux and on Solaris/sparc.  On the
  6.     Alexander> motorola CPU, the program caused a core dump on the
  7.     Alexander> other one it run returns a Inf value.  I have no idea
  8.     Alexander> how this is handled on Macs, since the program I tested
  9.     Alexander> apparently runs on real Macs, I would guess that it
  10.     Alexander> just ignores the exception. If this is the case, then
  11.     Alexander> Executor should do to.
  12.  
  13. SANE allows programs to set what happens on divide-by-zero.
  14. Executor's SANE implementation doesn't properly handle signaling
  15. exceptions, but it *does* work properly if the program requests that
  16. division by zero not cause an exception and instead generate +/-Inf.
  17.  
  18. I would guess that the division by zero really isn't supposed to
  19. happen (and doesn't happen when the program is run on a real Mac).
  20.  
  21. -Mat
  22.  
  23.