共用方式為


nextafterf Function

Determine the next representable value, in the type of the function, after _X in the direction of _Y

inline float nextafterf(
   float _X,
   float _Y
) restrict(amp);

Parameters

  • _X
    Floating-point value

  • _Y
    Floating-point value

Return Value

Returns the next representable value, in the type of the function, after _X in the direction of _Y

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace