|
From: Brian P. <bri...@tu...> - 2005-11-08 23:08:21
|
I'm going to be writing a new glean test to see how OpenGL handles infinite/nan/denorm/etc floating point values. At the extreme, the test will pass if you don't crash. :) It would be nicer to catch any floating point exceptions and try to recover. 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 could add twiddle with the x86 floating point control register to generate the exceptions and install a unix-style exception handler, but that'll tie it to x86/Unix. Any ideas? -Brian |