Subject: Floating Point Exceptions
To: None <port-pc532@NetBSD.ORG>
From: Jon Buller <jonb@metronet.com>
List: port-pc532
Date: 06/25/1995 14:14:47
I was building Tcl7.3 in the past couple of weeks, and got it built just
fine, but when running the self-tests, it fails in the eval tests by
dumping core with a Floating Point Exception.  Testing a bit farther, I
find that multiplying to relatively large numbers (to generate an Inf)
and printing the result will cause a core, but just generating the value
and moving it around is not a problem.  (gcc -S helps a lot with this one)

So, questions are: Does the 532 generate exceptions for overflows that are
not turned into an Inf? Can the C library deal with such values without
a core dump? Do I need to change my code to handle this properly? Should I
put some effort into making the OS/lib deal with this properly?

Any hints or suggestions (or even requests for help)?

Thanks,
Jon Buller