共用方式為


scalb Function

Multiplies _X by FLT_RADIX to the power _Y

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

Parameters

  • _X
    Floating-point value

  • _Y
    Floating-point value

Return Value

Returns _X * (FLT_RADIX ^ _Y)

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace