powf instead of pow in d_math.c