Hello,
In my project, I need to unpack a binary file where there are a few of the half-precision float (i.e. "float16") values. As of this writing, I read it from the binary stream by using the specification API "getUint16(0)".
Could you please teach me how to convert the "uint16" number back to the "float16" using JavaScript?
Hello,
In my project, I need to unpack a binary file where there are a few of the half-precision float (i.e. "float16") values. As of this writing, I read it from the binary stream by using the specification API "getUint16(0)".
Could you please teach me how to convert the "uint16" number back to the "float16" using JavaScript?