AnsweredAssumed Answered

float numbers in IEEE 754

Question asked by JaiMadafaca on Jun 29, 2015
Latest reply on Jun 29, 2015 by Clive One

Hello Sirs,
Doesanybody use IEEE 754 format to represent float numbers?

I need toconvert values to this standard format, and I was wondering if someone of youhas already done it with any STM32F. 

I’d bepleased if you can share a sample code showing conversion.
For exmaple:

3.141516  à  0x40490e99 

http://www.h-schmidt.net/FloatConverter/IEEE754.html

How to do it with C code?

thank youin advance!

Bestregards.

Jai 

Outcomes