Version: SMASH-3.1
fpenvironment.h File Reference
#include <cfenv>

Go to the source code of this file.

Classes

class  smash::DisableFloatTraps
 Guard type that safely disables floating point traps for the scope in which it is placed. More...
 

Namespaces

 smash
 

Functions

bool smash::enable_float_traps (int)
 Fallback that fails to set the trap. More...
 
void smash::setup_default_float_traps ()
 Setup the floating-point traps used throughout SMASH. More...
 
template<typename F >
void smash::without_float_traps (F &&f)
 Convenience function to create a scope where all floating point traps are disabled. More...