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

isunordered - Test if arguments are unordered.

Authors

TheKhronosGroup

Description

       Test if arguments are unordered.  isunordered() takes arguments x and y, returning non-zero if x or y is
       NaN, and zero otherwise.

Name

       isunordered - Test if arguments are unordered.

       intisunordered(floatx,floaty);intnisunordered(floatnx,floatny);intisunordered(doublex,doubley);longnisunordered(doublenx,doubleny);intisunordered (halfx, halfy)   // if half extension
       enabled
       shortnisunordered (halfnx, halfny)   // if half
       extension enabled

Notes

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

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

See Also

relationalFunctions(3clc)

Specification

OpenCLSpecification[1]