1 #ifndef POINCARE_SINE_H 2 #define POINCARE_SINE_H 24 int writeTextInBuffer(
char * buffer,
int bufferSize,
int numberOfSignificantDigits = PrintFloat::k_numberOfStoredSignificantDigits)
const override {
27 const char * name()
const {
return "sin"; }
32 return ApproximationEngine::map<float>(
this, context, angleUnit,computeOnComplex<float>);
35 return ApproximationEngine::map<double>(
this, context, angleUnit, computeOnComplex<double>);
Type type() const override
Expression * clone() const override
static ExpressionLayout * createPrefixLayout(const Expression *expression, PrintFloat::Mode floatDisplayMode, Expression::ComplexFormat complexFormat, const char *operatorName)
static int writePrefixExpressionTextInBuffer(const Expression *expression, char *buffer, int bufferSize, int numberOfDigits, const char *operatorName)
static Complex< T > computeOnComplex(const Complex< T > c, AngleUnit angleUnit=AngleUnit::Radian)