Question
Half-precision floating-point
Posted on February 01, 2016 at 20:32
Hello,
Using STM32F4 and IAR I am trying to convert a float (32bit) into Half-precision floating-point (16bit).(I am aware of the significant precision loss, but I have bandwidth limitations)Looking at ST's AN4044 and IEEE 754-2008 it seems possible yet I can't figure out how to define it in IAR.Is there a way to convert float to fp16 using the FPU, Using IAR / ASM instruction?If you'd do it in code do you know any other fast method?---http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00047230.pdfhttp://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472g/BABBHHHF.html #stm32f4-float-fpu