mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-22 23:30:37 +01:00
[poincare] Enbale to evaluate expression in degrees or radian
Change-Id: I8b08e7fa93431817559a594a1ea03d4414f0c830
This commit is contained in:
@@ -53,11 +53,11 @@ Expression * Float::clone() const {
|
||||
return new Float(m_float);
|
||||
}
|
||||
|
||||
float Float::approximate(Context& context) const {
|
||||
float Float::approximate(Context& context, AngleUnit angleUnit) const {
|
||||
return m_float;
|
||||
}
|
||||
|
||||
Expression * Float::evaluate(Context& context) const {
|
||||
Expression * Float::evaluate(Context& context, AngleUnit angleUnit) const {
|
||||
return clone();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user