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

isordered - Test if arguments are ordered.

Authors

TheKhronosGroup

Description

       Test if arguments are ordered.  isordered() takes arguments x and y, and returns the result
       isequal(3clc)(x, x) && isequal(y, y).

Name

       isordered - Test if arguments are ordered.

       intisordered(floatx,floaty);intnisordered(floatnx,floatny);intisordered(doublex,doubley);longnisordered(doublenx,doubleny);intisordered (halfx, halfy)   // if half extension
       enabled
       shortnisordered (halfnx, halfny)   // if half
       extension enabled

Notes

        1. OpenCL Specification
           page 264, section 6.12.6 - Relational Functions

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

See Also

relationalFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also