This blocks computes the output y as the power to the parameter base of the input u. If the boolean parameter useExp is true, the output is determined by:
y = exp ( u * log (base) )
otherwise:
y = base ^ u;