1#ifndef SXEVAL_OPERATIONS_LOGICALNOT_HPP
2#define SXEVAL_OPERATIONS_LOGICALNOT_HPP
16 static constexpr const char*
KEY =
"not";
40 this->_result =
static_cast<T
>(
The AOperation class is an abstract base class for operations in the SXEval library.
Definition AOperation.hpp:22
The IInstruction class is an interface for any instructions.
Definition IInstruction.hpp:21
Definition LogicalNot.hpp:14
std::string toString() const override
String representation of the instruction.
Definition LogicalNot.hpp:25
static constexpr const int ARITY_MIN
Definition LogicalNot.hpp:17
static constexpr const int ARITY_MAX
Definition LogicalNot.hpp:18
void execute() override
Execute the operation.
Definition LogicalNot.hpp:39
LogicalNot(const std::vector< IInstruction< T > * > &args)
Definition LogicalNot.hpp:20
static constexpr const char * KEY
Definition LogicalNot.hpp:16
Definition AOperation.hpp:8
bool LogicalNot(const T &a)
Perform a logical not operation on type T.
Definition utils.hpp:172
std::enable_if< std::is_unsigned< T >::value, T >::type Absolute(const T &a)
Perform an absolute value operation on types T.
Definition utils.hpp:262