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

Zaur Shibzukhov szport at gmail.com
Sun Jul 14 18:47:29 CEST 2013


воскресенье, 14 июля 2013 г., 19:07:29 UTC+4 пользователь Sturla Molden 
написал:
>
> Why not include physical constants as well?
>
> float('Å') = 1E-10
> float('c') = 2.9979E8
> float('R') = 8.314
>
> Because '±∞' isn't denote a constant but special value of float point 
standard. Symbol ∞ naturally represent infinity and as I know it's unique 
in unicode standard.

 

> _______________________________________________
>
> Python-ideas mailing list
> Python... at python.org <javascript:>
> http://mail.python.org/mailman/listinfo/python-ideas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130714/8b5a1655/attachment-0001.html>


More information about the Python-ideas mailing list