12 Jul
2013
12 Jul
'13
3:35 p.m.
On 12 July 2013 16:23, Chris Angelico
On Sat, Jul 13, 2013 at 1:16 AM, Gerald Britton
wrote: "Considering that Python can't represent π in a float anyway, I
wouldn't be too bothered. "
import math type(math.pi)
That's an approximation to pi, which is a standard floating-point value. It's simply 3.141592653589793, nothing more nor less.
Actually, it's 3.1415926535897932. 3.141592653589793 isn't a real floating-point number, and is "rounded" on evaluation. //Seriouslypedanticcomment