Nextafter - Nextafter - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 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.