[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Floating point exceptions
- From: Reuben Thomas <rrt1001@...>
- Date: Sun, 7 Jan 2001 14:41:39 +0000 (GMT)
> >The reason I ask is that I came across the problem in my EPOC port of Lua
> >that by default EPOC traps division by zero. I was able to turn it off, but
> >this meant I had to add an initialisation function, which is called (in my
> >port) by main() in lua.c, but in a cleaner implementation should be called
> >from within the Lua library (perhaps?).
> You might want to add a matherr handler in lmathlib.c.
> Perhaps this should be part of the official distribution.
> matherr is ANSI C, but does the EPOC suport that?
What is "matherr"? I can't find anything about this in the ISO standard
draft, system manpages or K&R.
http://sc3d.org/rrt/ | Caution Children At Play Drive Slowly