Home
last modified time | relevance | path

Searched refs:cl_make_nan (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/math_brute_force/
Dreference_math.cpp51 #define cl_make_nan() _CL_NAN.d macro
57 if (fabs(x) == INFINITY) return cl_make_nan(); in reduce1()
83 if (reference_fabs(x) == INFINITY) return cl_make_nan(); in reference_cospi()
668 if (0 == i) return cl_make_nan(); in reference_rootn()
671 if (x < 0 && 0 == (i & 1)) return cl_make_nan(); in reference_rootn()
764 if (x < 0.0) return cl_make_nan(); in reference_powr()
775 if (reference_fabs(y) == INFINITY) return cl_make_nan(); in reference_powr()
785 if (x == 0.0 || x == INFINITY) return cl_make_nan(); in reference_powr()
836 *ip = cl_make_nan(); in reference_fract()
837 return cl_make_nan(); in reference_fract()
[all …]