пн, 22 окт. 2018 г. в 16:02, Jan Mercl <0xj...@gmail.com>:
>
> On Mon, Oct 22, 2018 at 2:35 PM Vasiliy Tolstov <v.tols...@selfip.ru> 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: v.tols...@selfip.ru

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to