public static bool SqrtPowerFourRunnable(RPN.Node node) { return(node.IsSqrt() && node[0].IsExponent() && node[0, 0].IsNumber() && node[0, 0].GetNumber() % 4 == 0); }
public static bool SqrtNegativeNumbersRunnable(RPN.Node node) { return(node.IsSqrt() && node[0].IsLessThanNumber(0)); }
public static bool SqrtToAbsRunnable(RPN.Node node) { return(node.IsSqrt() && node[0].IsExponent() && node[0, 0].IsNumber(2)); }