BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
SysUtils Namespace Reference

Utility functions getCurrentDateAndTime, enableFloatingPointExceptions. More...

Functions

std::string getCurrentDateAndTime ()
 
void enableFloatingPointExceptions ()
 Enables exception throw in the case of NaN, Inf. More...
 
std::string getenv (const std::string &name)
 Returns environment variable.
 
bool isWindowsHost ()
 Returns true if operation system is Windows.
 

Detailed Description

Utility functions getCurrentDateAndTime, enableFloatingPointExceptions.

Function Documentation

◆ enableFloatingPointExceptions()

void SysUtils::enableFloatingPointExceptions ( )

Enables exception throw in the case of NaN, Inf.

enables exception throw in the case of NaN, Inf

Definition at line 33 of file SysUtils.cpp.