mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
16 lines
321 B
C++
16 lines
321 B
C++
#include <poincare/sinus.h>
|
|
#include "layout/horizontal_layout.h"
|
|
|
|
Expression * Sinus::clone() {
|
|
return new Sinus(m_arg, true);
|
|
}
|
|
|
|
Expression::Type Sinus::type() {
|
|
return Expression::Type::Sinus;
|
|
}
|
|
|
|
float Sinus::approximate(Context& context) {
|
|
// FIXME: use sinus obviously.
|
|
return m_arg->approximate(context);
|
|
}
|