[Numpy-discussion] [Python-3000] PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)

David Goldsmith David.L.Goldsmith at noaa.gov
Fri Apr 27 16:29:45 EDT 2007


Anton Sherwood wrote:
>>> Jan Grant wrote:
>>>       
>>>> . . .  the space of doubles include a small number of things
>>>> that aren't representable by a rational (+/- inf, for instance).
>>>>         
>
>   
>> Anton Sherwood wrote:
>>     
>>> +1/0, -1/0
>>>       
>
> David Goldsmith wrote:
>   
>> Are not unique representations for inf/-inf, (if that matters).
>>     
>
> No rational representation is unique!
>
>   
Of course - as soon as I hit send I knew someone was going to shoot that 
back at me! :-)  But for some reason (I'm speaking rhetorically, I know 
the reasons) they always drilled home non-zero/zero undef., not = inf.


DG



More information about the NumPy-Discussion mailing list