Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

rcp Function

Computes the reciprocal of the specified argument by using a fast approximation.

inline float rcp(
   float _X
) restrict(amp);

inline double rcp(
   double _X
) restrict(amp);


The value for which to compute the reciprocal.

The reciprocal of the specified argument.

Header: amp.h

Namespace: Concurrency::direct3d

© 2015 Microsoft