#include <floatingpoint.h>
静态公共成员函数 |
|
static MAXON_METHOD Bool | SetFloatingPointChecks ( Bool on) |
私有成员函数 |
|
MAXON_INTERFACE_NONVIRTUAL ( Misc , MAXON_REFERENCE_NONE , "net.maxon.interface.misc") |
|
private |
|
static |
Activates or deactivates floating point checks (exceptions). If (on && g_checkFloatZeroDivide) == true checks for division by zero will be active. If (on && g_checkFloatInvalid) == true checks for invalid floating point numbers will be active. If (on && g_checkFloatOverflow) == true checks for invalid floating overflows will be active. Currently under OS X all checks are disabled as the system and OpenGL throw exceptions in too many places. SetFloatingPointChecks works thread-specific. THREADSAFE.
[in] | on | The new state. |