1#ifndef SXEVAL_OPERATIONS_RADIANSTODEGREES_HPP
2#define SXEVAL_OPERATIONS_RADIANSTODEGREES_HPP
15 static constexpr const char*
KEY =
"rad2deg";
39 this->_result = this->_args.front().get() *
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 RadiansToDegrees.hpp:13
static constexpr const int ARITY_MIN
Definition RadiansToDegrees.hpp:16
RadiansToDegrees(const std::vector< IInstruction< T > * > &args)
Definition RadiansToDegrees.hpp:19
static constexpr const int ARITY_MAX
Definition RadiansToDegrees.hpp:17
std::string toString() const override
String representation of the instruction.
Definition RadiansToDegrees.hpp:24
void execute() override
Execute the operation.
Definition RadiansToDegrees.hpp:38
static constexpr const char * KEY
Definition RadiansToDegrees.hpp:15
Definition AOperation.hpp:8
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
#define SXEVAL_PI
Definition utils.hpp:10