libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
|
To use this functionality convert one of the doubles used in the multiply operation to this class. It will then automatically implement the m*x+c into a fused multiply-add operation. More...
#include <fma.hpp>
Public Member Functions | |
constexpr | dbl (double const l) noexcept(true) FORCE_INLINE |
Explicitly allow implicit conversions. More... | |
dbl (private_::dbl_mul_add const &l) noexcept(true) FORCE_INLINE | |
Allow nesting of std::fma() operations. More... | |
constexpr bool | operator== (const double r) const noexcept(true) FORCE_INLINE |
constexpr bool | operator== (const dbl r) const noexcept(true) FORCE_INLINE |
constexpr private_::dbl_mul | operator* (const double r) const noexcept(true) FORCE_INLINE |
constexpr private_::dbl_mul | operator* (const dbl r) const noexcept(true) FORCE_INLINE |
constexpr private_::dbl_add | operator+ (const double r) const noexcept(true) FORCE_INLINE |
constexpr private_::dbl_sub | operator- (const double r) const noexcept(true) FORCE_INLINE |
Public Attributes | |
const double | lhs_ |
To use this functionality convert one of the doubles used in the multiply operation to this class. It will then automatically implement the m*x+c into a fused multiply-add operation.
Commutativity & associativity of the equation is supported, as is nesting and m*x-c.
|
inlineconstexprnoexcept |
Explicitly allow implicit conversions.
Definition at line 120 of file fma_impl.hpp.
References lhs_.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlinenoexcept |
Allow nesting of std::fma() operations.
Definition at line 124 of file fma_impl.hpp.
References lhs_.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineconstexprnoexcept |
Definition at line 138 of file fma_impl.hpp.
References lhs_, and jmmcg::LIBJMMCG_VER_NAMESPACE::fma::operator*().
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineconstexprnoexcept |
Definition at line 143 of file fma_impl.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_mul::dbl_mul(), and lhs_.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineconstexprnoexcept |
Definition at line 148 of file fma_impl.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_add::dbl_add(), and lhs_.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineconstexprnoexcept |
Definition at line 153 of file fma_impl.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_sub::dbl_sub(), and lhs_.
Referenced by BOOST_AUTO_TEST_CASE().
|
inlineconstexprnoexcept |
Definition at line 133 of file fma_impl.hpp.
References lhs_.
|
inlineconstexprnoexcept |
Definition at line 128 of file fma_impl.hpp.
References lhs_.
const double jmmcg::LIBJMMCG_VER_NAMESPACE::fma::dbl::lhs_ |
Definition at line 45 of file fma.hpp.
Referenced by dbl(), operator*(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_mul::operator*(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::operator*(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_mul::operator+(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::operator+(), operator+(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::private_::dbl_mul::operator-(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::operator-(), operator-(), jmmcg::LIBJMMCG_VER_NAMESPACE::fma::operator<<(), and operator==().