github.com/jtejido/st1201 (go): Encoding and decoding of floating point values per MISB ST 1201.3 (5 October 2017) http://www.gwg.nga.mil/misb/st_pubs.html  Scope: This Standard (ST) describes the method for mapping floating-point values to integer values and the reverse, mapping integer values back to their original floating-point value to within an acceptable precision. There are many ways of optimizing the transmission of floating-point values from one system to another; the purpose of this ST is to provide a single method which can be used for all floating-point ranges and valid precisions. This ST provides a method for a forward and reverse linear mapping of a specified range of floating-point values to a specified integer range of values based on the number of bytes desired to be used for the integer value. Additionally, it provides a set of special values which can be used to transmit non-numerical “signals” to a receiving system.
Keywords: floating-point-conversion|floating-point-to-integer