Forum Discussion

DRuiz9's avatar
DRuiz9
Icon for New Contributor rankNew Contributor
5 years ago

Float 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.