|
From: Allen A. <ak...@po...> - 2005-11-09 02:23:18
|
On Tue, Nov 08, 2005 at 04:08:19PM -0700, Brian Paul wrote: | I'm going to be writing a new glean test to see how OpenGL handles | infinite/nan/denorm/etc floating point values. You're a braver man than I am. :-) | My experience with exception handling in C++ is pretty slim and I'm | not even sure if there's a standard way to handle them. I'm not either. I've checked my printed references and done a few web searches, and I haven't found anything that claims to work universally. I suspect the most portable thing we could do would be to use the C99 standard IEEE exception mechanism. (See "man fetestexcept", etc.) It depends on the ANSI C signal-catching utilities, but nothing *nix-specific as far as I can tell. However, I don't have any experience with it, so I don't know for sure that it'll do the job. Allen |