The pow function in cmath (I believe it is in cmath) is universal standard C++. It doesn't matter what compiler, IDE or OS you call it on.
Theoretically you could pass it anything if you converted it first. Check this: http://www.cplusplus.com/reference/clibrary/cmath/pow/
It takes any floating point base (and integers can be converted to floating point without loss) and any exponent type as well.