public SqlNumber Pow(SqlNumber exp) { if (State == NumericState.None) { return(new SqlNumber(BigMath.Pow(innerValue, exp.innerValue))); } return(this); }
public static SqlNumber Pow(SqlNumber number, SqlNumber exp) { if (SqlNumber.IsNumber(number)) { var result = BigMath.Pow(number.innerValue, exp.innerValue); return(new SqlNumber(result)); } return(number); }