Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Authors

TheKhronosGroup

Description

nan returns a quiet NaN. The nancode may be placed in the significand of the resulting NaN.

Name

       nan - Quiet NaN

       floatnnan(uintnnancode);floatnan(uintnancode);doublennan(ulongnnancode);doublenan(ulongnancode);halfnnan (ushortnnancode)      // if half extension
       enabled

Notes

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

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

See Also

mathFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also