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

  1.     id m0u3AmK-0007rHa; Sat, 30 Mar 96 17:13 MST
  2. Sender: owner-executor
  3. Received: from ardi.com by ftp.ardi.com
  4.     (Smail3.1.29.1 #3) id m0u3Alj-0007r9n; Sat, 30 Mar 96 17:13 MST
  5. Path: sloth.swcp.com!tesuque.cs.sandia.gov!ferrari.mst6.lanl.gov!newshost.lanl.gov!ncar!elroy.jpl.nasa.gov!swrinde!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!uniol!uni-erlangen.de!news.th-darmstadt.de!hp62.rbg.informatik.th-darmstadt.de!alexlehm
  6. From: alexlehm@rbg.informatik.th-darmstadt.de (Alexander Lehmann)
  7. Newsgroups: comp.emulators.mac.executor
  8. Subject: Floating Point Exceptions in Executor
  9. Date: 25 Mar 1996 19:44:43 GMT
  10. Organization: Technische Hochschule Darmstadt
  11. Lines: 30
  12. Message-ID: <4j6t3b$r9a@rs18.hrz.th-darmstadt.de>
  13. NNTP-Posting-Host: hp62.rbg.informatik.th-darmstadt.de
  14. X-Newsreader: TIN [version 1.2 PL2]
  15. To: executor@ardi.com
  16. X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
  17. Sender: owner-executor@ardi.com
  18. Precedence: bulk
  19.  
  20. Hello all,
  21.  
  22. it seems I have come accross a bug in Executor that is related to who the C
  23. compiler handles floating point exceptions. I tried to run a program, which
  24. causes a FPE due to division by zero. Since the default action for a FPE
  25. signal is abort, the Intel version prints the usual stack traceback, the
  26. NeXT version reports a Floating Point Execption (usually it would coredump,
  27. but that is disabled by the shell).
  28. Apparently, it depends on the CPU whether FPEs are caught or not I just
  29. compiled a small test program on m68k and hppa on hpux and on Solaris/sparc.
  30. On the motorola CPU, the program caused a core dump on the other one it run
  31. returns a Inf value.
  32. I have no idea how this is handled on Macs, since the program I tested
  33. apparently runs on real Macs, I would guess that it just ignores the
  34. exception. If this is the case, then Executor should do to.
  35.  
  36. BTW. the program I tried was the compiler from the TADS adventure development
  37. system, it is not really necessary to run this on Executor, since there are
  38. versions for PCs and most unixes also, but there may be other programs that
  39. have similar problems. The program is available from
  40. ftp://ftp.gmd.de/if-archive/programming/tads.
  41.  
  42.  
  43. bye, Alexander
  44.  
  45. --
  46. Alexander Lehmann,                                  |  "On the Internet,
  47. alex@hal.rhein-main.de  (plain, MIME, NeXT)         |   nobody knows
  48. alexlehm@rbg.informatik.th-darmstadt.de (plain)     |   you're a dog."
  49. <URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
  50.  
  51.