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

  1. Hello all,
  2.  
  3. it seems I have come accross a bug in Executor that is related to who the C
  4. compiler handles floating point exceptions. I tried to run a program, which
  5. causes a FPE due to division by zero. Since the default action for a FPE
  6. signal is abort, the Intel version prints the usual stack traceback, the
  7. NeXT version reports a Floating Point Execption (usually it would coredump,
  8. but that is disabled by the shell).
  9. Apparently, it depends on the CPU whether FPEs are caught or not I just
  10. compiled a small test program on m68k and hppa on hpux and on Solaris/sparc.
  11. On the motorola CPU, the program caused a core dump on the other one it run
  12. returns a Inf value.
  13. I have no idea how this is handled on Macs, since the program I tested
  14. apparently runs on real Macs, I would guess that it just ignores the
  15. exception. If this is the case, then Executor should do to.
  16.  
  17. BTW. the program I tried was the compiler from the TADS adventure development
  18. system, it is not really necessary to run this on Executor, since there are
  19. versions for PCs and most unixes also, but there may be other programs that
  20. have similar problems. The program is available from
  21. ftp://ftp.gmd.de/if-archive/programming/tads.
  22.  
  23.  
  24. bye, Alexander
  25.  
  26. --
  27. Alexander Lehmann,                                  |  "On the Internet,
  28. alex@hal.rhein-main.de  (plain, MIME, NeXT)         |   nobody knows
  29. alexlehm@rbg.informatik.th-darmstadt.de (plain)     |   you're a dog."
  30. <URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
  31.  
  32.