From: Tom Phoenix Date: Mon, 10 Mar 1997 22:33:20 +0000 (-0800) Subject: Re: Inline PI function X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=699e6cd4da8c333ef83554732e73ab6734463b5d;p=p5sagit%2Fp5-mst-13.2.git Re: Inline PI function private-msgid: Pine.GSO.3.95q.970310143125.22489V-100000@kelly.teleport.com --- diff --git a/pod/perlsub.pod b/pod/perlsub.pod index 9d725ab..f2a5b8f 100644 --- a/pod/perlsub.pod +++ b/pod/perlsub.pod @@ -764,7 +764,9 @@ affected. All of the following functions would be inlined. - sub PI () { 3.14159 } + sub pi () { 3.14159 } # Not exact, but close. + sub PI () { 4 * atan2 1, 1 } # As good as it gets, + # and it's inlined, too! sub ST_DEV () { 0 } sub ST_INO () { 1 }