共用方式為


pow Function

Calculates _X raised to the power of _Y

inline float pow(
   float _X,
   float _Y
) restrict(amp);
inline double pow(
   double _X,
   double _Y
) restrict(amp);

Parameters

  • _X
    Floating-point value, base

  • _Y
    Floating-point value, exponent

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace