26 #define FAD_LOG_MACRO(OP) \ 28 inline bool operator OP(const Fad<T> &a, const Fad<T> &b) { \ 29 return (a.val() OP b.val()); \ 34 typename std::enable_if<((std::is_integral<B>::value || \ 35 is_complex_or_floating_point<B>::value) && \ 36 (std::is_integral<A>::value || \ 37 is_complex_or_floating_point<A>::value)), \ 38 int>::type * = nullptr> \ 39 inline bool operator OP(const Fad<A> &a, const B &b) { \ 40 return (a.val() OP b); \ 45 typename std::enable_if<((std::is_integral<B>::value || \ 46 is_complex_or_floating_point<B>::value) && \ 47 (std::is_integral<A>::value || \ 48 is_complex_or_floating_point<A>::value)), \ 49 int>::type * = nullptr> \ 50 inline bool operator OP(const A &a, const Fad<B> &b) { \ 51 return (a OP b.val()); \ 55 inline bool operator OP(const FadExpr<T> &a, const FadExpr<T> &b) { \ 56 return (a.val() OP b.val()); \ 60 inline bool operator OP(const T &a, const FadExpr<T> &b) { \ 61 return (a OP b.val()); \ 65 inline bool operator OP(const FadExpr<T> &a, const T &b) { \ 66 return (a.val() OP b); \
bool operator!(const Fad< T > &a)
#define FAD_LOG_MACRO(OP)
Contains the declaration of TPZFlopCounter class and TPZCounter struct.