| 1 | initial version |
Starting Octave just to get a numerical value of pi is unnecessarily slow.
If you need a floating-point approximation to pi, I would suggest:
sage: pi = RDF.pi()
sage: pi
3.141592653589793
But maybe you have other reasons to use Octave?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.