libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
fma.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include <boost/mpl/list.hpp>
#include "core/ave_deviation_meter.hpp"
#include "core/fma.hpp"
#include <chrono>
Include dependency graph for fma.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Typedefs

typedef boost::mpl::list< double, fma::dbl > check_fma_tests
 

Functions

 BOOST_AUTO_TEST_CASE (all_zero)
 
 BOOST_AUTO_TEST_CASE (all_zero_commute_multiply)
 
 BOOST_AUTO_TEST_CASE (all_zero_commute_add)
 
 BOOST_AUTO_TEST_CASE (all_zero_commute_multipy_and_add)
 
 BOOST_AUTO_TEST_CASE (all_zero_nest)
 
 BOOST_AUTO_TEST_CASE (m_one_others_zero)
 
 BOOST_AUTO_TEST_CASE (all_ones)
 
 BOOST_AUTO_TEST_CASE (one_two)
 
 BOOST_AUTO_TEST_CASE (all_twos)
 
 BOOST_AUTO_TEST_CASE (subtract_twos)
 
 BOOST_AUTO_TEST_CASE (associative_subtract_twos)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_surrounding_multiplies)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_post_multiplies)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_preceeding_multiplies)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_dbls_add)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_dbls_subtract)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_dbls_associative_add)
 
 BOOST_AUTO_TEST_CASE (all_zero_two_dbls_associative_subtract)
 
 BOOST_AUTO_TEST_CASE (multiply_equals_add)
 
 BOOST_AUTO_TEST_CASE (multiply_equals_subtract)
 
 BOOST_AUTO_TEST_CASE (add_equals)
 
 BOOST_AUTO_TEST_CASE (subtract_equals)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (performance_all_zero_commute_multiply, T, check_fma_tests)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file fma.cpp.

Typedef Documentation

◆ check_fma_tests

typedef boost::mpl::list< double, fma::dbl > check_fma_tests

Definition at line 280 of file fma.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/22]

◆ BOOST_AUTO_TEST_CASE() [2/22]

◆ BOOST_AUTO_TEST_CASE() [3/22]

◆ BOOST_AUTO_TEST_CASE() [4/22]

◆ BOOST_AUTO_TEST_CASE() [5/22]

◆ BOOST_AUTO_TEST_CASE() [6/22]

◆ BOOST_AUTO_TEST_CASE() [7/22]

BOOST_AUTO_TEST_CASE ( all_zero_commute_multipy_and_add  )

◆ BOOST_AUTO_TEST_CASE() [8/22]

◆ BOOST_AUTO_TEST_CASE() [9/22]

◆ BOOST_AUTO_TEST_CASE() [10/22]

◆ BOOST_AUTO_TEST_CASE() [11/22]

◆ BOOST_AUTO_TEST_CASE() [12/22]

◆ BOOST_AUTO_TEST_CASE() [13/22]

◆ BOOST_AUTO_TEST_CASE() [14/22]

BOOST_AUTO_TEST_CASE ( all_zero_two_preceeding_multiplies  )

◆ BOOST_AUTO_TEST_CASE() [15/22]

◆ BOOST_AUTO_TEST_CASE() [16/22]

◆ BOOST_AUTO_TEST_CASE() [17/22]

◆ BOOST_AUTO_TEST_CASE() [18/22]

BOOST_AUTO_TEST_CASE ( multiply_equals_add  )

◆ BOOST_AUTO_TEST_CASE() [19/22]

BOOST_AUTO_TEST_CASE ( multiply_equals_subtract  )

◆ BOOST_AUTO_TEST_CASE() [20/22]

◆ BOOST_AUTO_TEST_CASE() [21/22]

◆ BOOST_AUTO_TEST_CASE() [22/22]

◆ BOOST_AUTO_TEST_CASE_TEMPLATE()

BOOST_AUTO_TEST_CASE_TEMPLATE ( performance_all_zero_commute_multiply  ,
,
check_fma_tests   
)

Definition at line 282 of file fma.cpp.