COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Macros | Typedefs | Functions
utest-math-checks.cpp File Reference
#include <iomanip>
#include <boost/test/unit_test.hpp>
#include "common/Log.hpp"
#include "math/Checks.hpp"

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE
 
#define ULP   4
 

Typedefs

typedef long int lint
 

Functions

bool AlmostEqual2sComplement (double A, double B, boost::uint64_t maxUlps)
 
 BOOST_AUTO_TEST_CASE (floating_point_far_from_zero)
 
 BOOST_AUTO_TEST_CASE (floating_point_far_from_zero_2)
 
 BOOST_AUTO_TEST_CASE (floating_point_near_zero)
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 7 of file utest-math-checks.cpp.

#define BOOST_TEST_MODULE

Definition at line 8 of file utest-math-checks.cpp.

#define ULP   4

Definition at line 55 of file utest-math-checks.cpp.

Typedef Documentation

typedef long int lint

Definition at line 24 of file utest-math-checks.cpp.

Function Documentation

bool AlmostEqual2sComplement ( double  A,
double  B,
boost::uint64_t  maxUlps 
)

Definition at line 29 of file utest-math-checks.cpp.

BOOST_AUTO_TEST_CASE ( floating_point_far_from_zero  )

Definition at line 60 of file utest-math-checks.cpp.

BOOST_AUTO_TEST_CASE ( floating_point_far_from_zero_2  )

Definition at line 89 of file utest-math-checks.cpp.

BOOST_AUTO_TEST_CASE ( floating_point_near_zero  )

Definition at line 121 of file utest-math-checks.cpp.

Send comments to:
COOLFluiD Web Admin