Добавлены операци:

SqrtY,
Factorial,
CubeRoot,
Square,
Cube,
PowY,
Log,
Ln,
Exp,
Inv,
Pi,
Sinh,
Sin,
Cosh,
Cos,
Tanh,
Tan
This commit is contained in:
Мария 2024-04-04 22:49:32 +03:00
parent dcfd7c6e70
commit d3836d6cfc
14 changed files with 1072 additions and 798 deletions

View file

@ -1,10 +1,11 @@
namespace calculator.Model;
using calculator.Common;
namespace calculator.Model;
public class CaculatorData
{
public Stack<string> Operands { get; set; } = new();
public string? Operation { get; set; }
public string? SingleOperation { get; set; }
public string? Input { get; set; }
public double? Value { get; set; }
public Operation? Operation { get; set; }
public bool Caculated { get; set; }
public string? LastOperand { get; set; }
}