Nextafter - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
float amd_nextafterf(float x, float y)#

Returns the next representable float after x in the direction of y.

Parameters:
  • x – Starting value.

  • y – Direction target.

Returns:

Next representable value from x toward y.

double amd_nextafter(double x, double y)#

Returns the next representable double after x in the direction of y.

Parameters:
  • x – Starting value.

  • y – Direction target.

Returns:

Next representable value from x toward y.