Fix a warning on test_ldexp.cl
Fix a warning on test_ldexp.cl when cl_khr_fp64 is not available.
@@ -24,7 +24,7 @@ DEFINE_BODY_V (
}
else
{
- goodres.s[n] = val.s[n] * (stype) (16.0);
+ goodres.s[n] = val.s[n] * (stype) (16.0f);
}
equal = equal && ISEQ (res.s[n], goodres.s[n]);
}
