mirror of
https://github.com/0xJ1M/MathsEngine.git
synced 2026-06-05 03:00:07 +00:00
WIP
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MathEngine.Expression;
|
||||
using MathEngine.types;
|
||||
using MathEngine.Expression;
|
||||
|
||||
namespace MathRunner
|
||||
{
|
||||
@@ -6,6 +7,12 @@ namespace MathRunner
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
BigInteger x = new(123456);
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
x = x * x;
|
||||
}
|
||||
Console.WriteLine(x.ToString());
|
||||
Console.WriteLine("Evaluting expression...");
|
||||
Expression exp = new("54+2+1");
|
||||
Console.WriteLine(exp.Evaluate());
|
||||
|
||||
Reference in New Issue
Block a user