Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
655 Discussions

Float 32from IEEE-754 representation

DRuiz9
Novice
938 Views
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.
Labels (1)
0 Kudos
1 Reply
AnilErinch_A_Intel
821 Views

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


0 Kudos
Reply