#include <floatingpoint.h>
◆ MAXON_INTERFACE_NONVIRTUAL()
◆ SetFloatingPointChecks()
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.
- Parameters
-
- Returns
- The old state.