Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50528 > unrolled thread

Re: [Python-ideas] float('∞')=float('inf')

Started byChris Angelico <rosuav@gmail.com>
First post2013-07-13 00:53 +1000
Last post2013-07-13 00:53 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Python-ideas] float('∞')=float('inf') Chris Angelico <rosuav@gmail.com> - 2013-07-13 00:53 +1000

#50528 — Re: [Python-ideas] float('∞')=float('inf')

FromChris Angelico <rosuav@gmail.com>
Date2013-07-13 00:53 +1000
SubjectRe: [Python-ideas] float('∞')=float('inf')
Message-ID<mailman.4635.1373640804.3114.python-list@python.org>
On Sat, Jul 13, 2013 at 12:52 AM, Chris Angelico <rosuav@gmail.com> wrote:
> On Sat, Jul 13, 2013 at 12:43 AM, Gerald Britton
> <gerald.britton@gmail.com> wrote:
>> Man I don't know how you are doing this!  I just tried:
>>
>> float('<greek letter pi>') and got
>>
>> Value error: could not convert string to float '<greek letter pi>'
>>
>> For that matter, I can't figure out how to type the greek letter for
>> pi in gmail!  Guess I have some things to learn.
>>
>> So, if Python doesn't recognize the symbol for pi, why should it
>> recognize the one for infinity?
>
> Considering that Python can't represent π in a float anyway, I
> wouldn't be too bothered. And what else? float('τ') for twice that
> value? Not really necessary imho.
>
> ChrisA

Take no notice of me going insane over here. Nothing to see, move
along, these are not the neurons you're looking for!

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web