Forum Discussion
DRuiz9
New Contributor
5 years agoFloat 32from IEEE-754 representation
I have a RTL module that convert a fixed point number to IEEE-754. This RTL module is used as a OpenCL library and returns a 32 bits integer with the values of sign, exponent and mantissa. Is possible cast in OpenCL an integer that contains theIEEE-754 representation into a float32? How I could achieve this??
Thanks.
Thanks.
1 Reply
- AnilErinch_A_Intel
Frequent Contributor
Hi ,
Can you try out the convert method and let us know the results.
https://www.khronos.org/registry/OpenCL/sdk/2.2/docs/man/html/convert_T.html
Thanks and Regards
Anil