simplified powf expression
avoid "warning: unused parameter ‘N’"