libjmmcg
build_2783
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... | |
constexpr | 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 155 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Allow nesting of std::fma() operations.
Definition at line 159 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 173 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 178 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 183 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 188 of file fma_impl.hpp.
Definition at line 168 of file fma_impl.hpp.
|
inlineconstexprnoexcept |
Definition at line 163 of file fma_impl.hpp.