rcp Function

Returns the reciprocal of the argument

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

Parameters

  • _X
    Floating-point value

Return Value

Returns the reciprocal of the argument

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)