[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Error catching
- From: Reuben Thomas <rrt1001@...>
- Date: Tue, 30 Jan 2001 10:23:53 +0000 (GMT)
> >As for the division behaviour, that's completely standard (according to IEEE
> >rules), but easily changed, assuming you have fenv.h on your system: you
> >just need to change the floating point exception state of the program
> >hosting Lua, using fesetexcept flag.
> fenv.h seems to be standard in C99, but not in C89 or POSIX.
> (However, it is present in recent Linux distributions.)
> So, there's nothing we can do to the Lua code, if we want to keep it portable.
I meant to imply this: it's the original poster's problem (unfortunately).
http://sc3d.org/rrt/ | perfect, a. unsatirizable