пн, 22 окт. 2018 г. в 16:02, Jan Mercl <[email protected]>: > > On Mon, Oct 22, 2018 at 2:35 PM Vasiliy Tolstov <[email protected]> wrote: > > > Does reading this 4 bytes to uint32 and use math.Float32frombits looks > > right? > > It does not look right, see > https://en.wikipedia.org/wiki/Q_(number_format)#Q_to_float
Thanks, so i need to read uint16 Num and uint16 Exp? After that use number Num*2−exp ? -- Vasiliy Tolstov, e-mail: [email protected] -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
