共用方式為


erf Function

Computes the error function of _X

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

Parameters

  • _X
    Floating-point value

Return Value

Returns the error function of _X

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace