AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
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

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 
namespace  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.
 
int AGXCORE_EXPORT agx::FloatingPointExceptions::getFloatingPointExceptionSettings ()
 Gets the global floating point exception settings.
 
void AGXCORE_EXPORT agx::FloatingPointExceptions::setFloatingPointExceptionSettings (int mask)
 Sets global floating point exception settings for AGX, and applies them for current thread.