[Python-ideas] Adding a half-float (16-bit) type to PEP 3118 (and possibly the struct module?)

MRAB python at mrabarnett.plus.com
Fri Apr 1 03:32:53 CEST 2011


On 01/04/2011 01:57, Terry Reedy wrote:
> On 3/31/2011 1:58 PM, Alexander Belopolsky wrote:
>> On Thu, Mar 31, 2011 at 12:36 PM, Robert Kern<robert.kern at gmail.com>
>> wrote:
>> ..
>>> The proposed letter code is 'e', as used in numpy. I'm not sure of
>>> the logic
>>> that went behind the choice, except perhaps that 'e' is near 'd' and
>>> 'f'.
>>
>> So it is 'e' for half,
>
> No, 'e' for 'elfin' ;-).
>
I thought it was because when you first hear someone talking about
"half-float" you say "eh?" :-)

> 'f' for single and 'd' for double.



More information about the Python-ideas mailing list