/usr/include/clc/relational/isnan.h is in libclc-dev 0.2.0+git20180312-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #define _CLC_ISNAN_DECL(RET_TYPE, ARG_TYPE) \
_CLC_OVERLOAD _CLC_DECL RET_TYPE isnan(ARG_TYPE);
#define _CLC_VECTOR_ISNAN_DECL(RET_TYPE, ARG_TYPE) \
_CLC_ISNAN_DECL(RET_TYPE##2, ARG_TYPE##2) \
_CLC_ISNAN_DECL(RET_TYPE##3, ARG_TYPE##3) \
_CLC_ISNAN_DECL(RET_TYPE##4, ARG_TYPE##4) \
_CLC_ISNAN_DECL(RET_TYPE##8, ARG_TYPE##8) \
_CLC_ISNAN_DECL(RET_TYPE##16, ARG_TYPE##16)
_CLC_ISNAN_DECL(int, float)
_CLC_VECTOR_ISNAN_DECL(int, float)
#ifdef cl_khr_fp64
_CLC_ISNAN_DECL(int, double)
_CLC_VECTOR_ISNAN_DECL(long, double)
#endif
#undef _CLC_ISNAN_DECL
#undef _CLC_VECTOR_ISNAN_DECL
|