LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need a single-precision/2-byte conversion tool

Any one have a utility to convert 4-byte single precision numbers to and from a 2-byte representation?

 

I only need 3 digits, with one fractional digit (-14.3, for example).

 

Thanks...

0 Kudos
Message 1 of 2
(2,444 Views)

At one time I thought I wanted to do this, but never got around to it.  I did find this information useful, however.

 

http://www.fox-toolkit.org/ftp/fasthalffloatconversion.pdf

0 Kudos
Message 2 of 2
(2,436 Views)