The exponent for pow was fixed to int. Since internally the std::pow is used, one can directly replace int with double to have a more general operation. This is done in this MR.
int
std::pow
double