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