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
Thanks Micah
Just in case anyone is interested... Some guys at Khronos have made a quick reference card for OpenCL linked below. I've found it quite useful for getting quick answers to generic questions like the above.
http://www.khronos.org/files/opencl-1-1-quick-reference-card.pdf