Feigenbaum constant calculation: Difference between revisions
Content deleted Content added
SqrtNegInf (talk | contribs) m →{{header|Perl}}: use high-precision library for faster convergence |
SqrtNegInf (talk | contribs) m →{{header|Perl}}: oops, add 'my' for 'strict' compliance |
||
Line 643: | Line 643: | ||
use Math::AnyNum 'sqr'; |
use Math::AnyNum 'sqr'; |
||
$a1 = 1.0; |
my $a1 = 1.0; |
||
$a2 = 0.0; |
my $a2 = 0.0; |
||
$d1 = 3.2; |
my $d1 = 3.2; |
||
print " i δ\n"; |
print " i δ\n"; |