1 #ifndef POINCARE_HYPERBOLIC_COSINE_H 2 #define POINCARE_HYPERBOLIC_COSINE_H 21 int writeTextInBuffer(
char * buffer,
int bufferSize,
int numberOfSignificantDigits = PrintFloat::k_numberOfStoredSignificantDigits)
const override {
24 const char * name()
const {
return "cosh"; }
29 return ApproximationEngine::map<float>(
this, context, angleUnit,computeOnComplex<float>);
32 return ApproximationEngine::map<double>(
this, context, angleUnit, computeOnComplex<double>);
Expression * clone() const override
static ExpressionLayout * createPrefixLayout(const Expression *expression, PrintFloat::Mode floatDisplayMode, Expression::ComplexFormat complexFormat, const char *operatorName)
Type type() const override
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)