home *** CD-ROM | disk | FTP | other *** search
- id m0u3AmK-0007rHa; Sat, 30 Mar 96 17:13 MST
- Sender: owner-executor
- Received: from ardi.com by ftp.ardi.com
- (Smail3.1.29.1 #3) id m0u3Alj-0007r9n; Sat, 30 Mar 96 17:13 MST
- 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
- From: alexlehm@rbg.informatik.th-darmstadt.de (Alexander Lehmann)
- Newsgroups: comp.emulators.mac.executor
- Subject: Floating Point Exceptions in Executor
- Date: 25 Mar 1996 19:44:43 GMT
- Organization: Technische Hochschule Darmstadt
- Lines: 30
- Message-ID: <4j6t3b$r9a@rs18.hrz.th-darmstadt.de>
- NNTP-Posting-Host: hp62.rbg.informatik.th-darmstadt.de
- X-Newsreader: TIN [version 1.2 PL2]
- To: executor@ardi.com
- X-MailNews-Gateway: From newsgroup comp.emulators.mac.executor
- Sender: owner-executor@ardi.com
- Precedence: bulk
-
- Hello all,
-
- it seems I have come accross a bug in Executor that is related to who the C
- compiler handles floating point exceptions. I tried to run a program, which
- causes a FPE due to division by zero. Since the default action for a FPE
- signal is abort, the Intel version prints the usual stack traceback, the
- NeXT version reports a Floating Point Execption (usually it would coredump,
- but that is disabled by the shell).
- Apparently, it depends on the CPU whether FPEs are caught or not I just
- compiled a small test program on m68k and hppa on hpux and on Solaris/sparc.
- On the motorola CPU, the program caused a core dump on the other one it run
- returns a Inf value.
- I have no idea how this is handled on Macs, since the program I tested
- apparently runs on real Macs, I would guess that it just ignores the
- exception. If this is the case, then Executor should do to.
-
- BTW. the program I tried was the compiler from the TADS adventure development
- system, it is not really necessary to run this on Executor, since there are
- versions for PCs and most unixes also, but there may be other programs that
- have similar problems. The program is available from
- ftp://ftp.gmd.de/if-archive/programming/tads.
-
-
- bye, Alexander
-
- --
- Alexander Lehmann, | "On the Internet,
- alex@hal.rhein-main.de (plain, MIME, NeXT) | nobody knows
- alexlehm@rbg.informatik.th-darmstadt.de (plain) | you're a dog."
- <URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
-
-