lcy
2025-10-16 3b64befcd8b2ab5abef1a33c5c8f73a6b245aff0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace Jace.Operations
{
    public class Exponentiation : Operation
    {
        public Exponentiation(DataType dataType, Operation @base, Operation exponent)
            : base(dataType, @base.DependsOnVariables || exponent.DependsOnVariables, @base.IsIdempotent && exponent.IsIdempotent)
        {
            Base = @base;
            Exponent = exponent;
        }
 
        public Operation Base { get; internal set; }
        public Operation Exponent { get; internal set; }
    }
}