[Python-ideas] math.inf and math.nan constants

Alexander Heger python at 2sn.net
Wed Jan 7 19:43:22 CET 2015

On 8 January 2015 at 03:21, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:

> ..  math.acos(-1) in favor of math.pi?

fastest is

pi = 4 * math.atan(1)

which I use in old FORTRAN codes

More information about the Python-ideas mailing list