Home
last modified time | relevance | path

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

/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_half.h250 uint64_t d_mant = f64.i & (((uint64_t)1 << (CL_DBL_MANT_DIG - 1)) - 1); in cl_half_from_double() local
264 if (d_mant) in cl_half_from_double()
267 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos); in cl_half_from_double()
279 if (!d_exp && !d_mant) in cl_half_from_double()
301 d_mant |= (uint64_t)1 << (CL_DBL_MANT_DIG - 1); in cl_half_from_double()
308 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos); in cl_half_from_double()
316 if ((d_mant & mask) > halfway) in cl_half_from_double()
321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
332 if ((d_mant & mask) && !sign) in cl_half_from_double()
339 if ((d_mant & mask) && sign) in cl_half_from_double()
/external/angle/include/CL/
Dcl_half.h250 uint64_t d_mant = f64.i & (((uint64_t)1 << (CL_DBL_MANT_DIG - 1)) - 1); in cl_half_from_double() local
264 if (d_mant) in cl_half_from_double()
267 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos); in cl_half_from_double()
279 if (!d_exp && !d_mant) in cl_half_from_double()
301 d_mant |= (uint64_t)1 << (CL_DBL_MANT_DIG - 1); in cl_half_from_double()
308 uint16_t h_mant = (uint16_t)(d_mant >> lsb_pos); in cl_half_from_double()
316 if ((d_mant & mask) > halfway) in cl_half_from_double()
321 else if ((d_mant & mask) == halfway) in cl_half_from_double()
332 if ((d_mant & mask) && !sign) in cl_half_from_double()
339 if ((d_mant & mask) && sign) in cl_half_from_double()