spectral

OpenCL equivalent to binary_cast

Discussion created by spectral on Apr 13, 2011
Latest reply on Apr 13, 2011 by Illusio

Does the OpenCL equivalent to "binary_cast<uint>(x)" is "as_uint(x)" ?

I need to convert a float to its "bits" representation to manipulate bits !

Thanks

Outcomes