AGX Dynamics  2.35.0.1
FloatingPointExceptions.h File Reference
#include <agx/config.h>
#include <agx/agx.h>
#include <agx/agxCore_export.h>

Go to the source code of this file.

Namespaces

 agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 
 agx::FloatingPointExceptions
 

Enumerations

enum  agx::FloatingPointExceptions::ExceptionCode {
  agx::FloatingPointExceptions::FP_EXC_NONE = 0 , agx::FloatingPointExceptions::FP_EXC_INVALID_OPERATION = 1 , agx::FloatingPointExceptions::FP_EXC_DIVISION_BY_ZERO = 2 , agx::FloatingPointExceptions::FP_EXC_OVERFLOW = 4 ,
  agx::FloatingPointExceptions::FP_EXC_UNDERFLOW = 8 , agx::FloatingPointExceptions::FP_EXC_INEXACT = 16 , agx::FloatingPointExceptions::FP_EXC_ALL = FP_EXC_INVALID_OPERATION | FP_EXC_DIVISION_BY_ZERO | FP_EXC_OVERFLOW | FP_EXC_UNDERFLOW | FP_EXC_INEXACT
}
 

Functions

void AGXCORE_EXPORT agx::FloatingPointExceptions::applyFloatingPointExceptionSettings ()
 Applies floating point exceptions as specified by the setFloatingPointExceptionSettings-function, but for current core. More...
 
int AGXCORE_EXPORT agx::FloatingPointExceptions::getFloatingPointExceptionSettings ()
 Gets the global floating point exception settings. More...
 
void AGXCORE_EXPORT agx::FloatingPointExceptions::setFloatingPointExceptionSettings (int mask)
 Sets global floating point exception settings for AGX, and applies them for current thread. More...