Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
505 Discussions

Float 32from IEEE-754 representation

DRuiz9
Novice
342 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
225 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


Reply