logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nextafter - Next representable floating-point value following x in the direction of y.

Authors

TheKhronosGroup

Description

       Computes the next representable single-precision floating-point value following x in the direction of y.
       Thus, if y is less than x, nextafter() returns the largest representable floating-point number less than
       x.

Name

       nextafter - Next representable floating-point value following x in the direction of y.

       gentypenextafter(gentypex,gentypey);

Notes

        1. OpenCL Specification
           page 244, section 6.12.2 - Math Functions

The Khronos Group                                  11/18/2024                                    NEXTAFTER(3clc)

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also