in reply to Re: Pascal triange...
in thread Pascal's triangle...
since you're only calculating pi once, and inlining it, take advantage of the operating system's precision...use constant PI => 3.141592653589793238;
use constant PI => 4 * atan 1, 1; ## or as i prefer # sub PI() { 4 * atan 1, 1 }
~Particle *accelerates*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•constant PI
by merlyn (Sage) on Jun 19, 2002 at 13:16 UTC | |
|
(jeffa) 3Re: Pascal triange...
by jeffa (Bishop) on Jun 19, 2002 at 17:51 UTC | |
|
Re^3.14: Pascal's triangle...
by particle (Vicar) on Jun 19, 2002 at 22:14 UTC | |
by YuckFoo (Abbot) on Jun 20, 2002 at 19:23 UTC | |
|
Re(3): Pascal triange...
by gumby (Scribe) on Jun 19, 2002 at 11:45 UTC | |
|
Re: Re^2: Pascal's triangle...
by theorbtwo (Prior) on Jun 19, 2002 at 22:26 UTC |