diff --git a/poincare/src/power.cpp b/poincare/src/power.cpp index 22096c875..39e435e62 100644 --- a/poincare/src/power.cpp +++ b/poincare/src/power.cpp @@ -1,8 +1,5 @@ -#if PLATFORM==simulator -#include -#endif - #include +#include #include "layout/exponent_layout.h" Power::Power(Expression * base, Expression * exponent) : @@ -16,12 +13,7 @@ Power::~Power() { } float Power::approximate(Context& context) { -#if PLATFORM==simulator return powf(m_base->approximate(context), m_exponent->approximate(context)); -#else - // TODO(fraimundo): do this for real - return 1f; -#endif } ExpressionLayout * Power::createLayout(ExpressionLayout * parent) {