Re: [Numpy-discussion] Custom floating point representation to IEEE 754 double

2014-02-26 Thread Gregor Thalhammer
Am 25.02.2014 um 12:08 schrieb Daniele Nicolodi dani...@grinta.net: Hello, I'm dealing with an instrument that transfers numerical values through an RS232 port in a custom (?) floating point representation (56 bits, 4 bits exponent and 52 bits significand). Of course I need to convert

Re: [Numpy-discussion] Custom floating point representation to IEEE 754 double

2014-02-26 Thread Oscar Benjamin
On 26 February 2014 00:35, Daniele Nicolodi dani...@grinta.net wrote: simpler in my original email has to be read as involving less operations and thus more efficient, not simpler to understand, indeed it is already a simple implementation of the definition. What I would like to know is if

[Numpy-discussion] Custom floating point representation to IEEE 754 double

2014-02-25 Thread Daniele Nicolodi
Hello, I'm dealing with an instrument that transfers numerical values through an RS232 port in a custom (?) floating point representation (56 bits, 4 bits exponent and 52 bits significand). Of course I need to convert this format to a standard IEEE 754 double to be able to do anything useful

Re: [Numpy-discussion] Custom floating point representation to IEEE 754 double

2014-02-25 Thread Oscar Benjamin
On 25 February 2014 11:08, Daniele Nicolodi dani...@grinta.net wrote: Hello, I'm dealing with an instrument that transfers numerical values through an RS232 port in a custom (?) floating point representation (56 bits, 4 bits exponent and 52 bits significand). Of course I need to convert

Re: [Numpy-discussion] Custom floating point representation to IEEE 754 double

2014-02-25 Thread Daniele Nicolodi
On 26/02/2014 00:12, Oscar Benjamin wrote: On 25 February 2014 11:08, Daniele Nicolodi dani...@grinta.net wrote: Hello, I'm dealing with an instrument that transfers numerical values through an RS232 port in a custom (?) floating point representation (56 bits, 4 bits exponent and 52 bits