Loops/Wrong ranges: Difference between revisions

Content deleted Content added
=={{header|Common Lisp}}== Added Common Lisp
SqrtNegInf (talk | contribs)
m →‎{{header|Perl 6}}: disambiguate multiplication from */whatever
Line 771: Line 771:
# Start with a list, iterate by multiplying the previous 3 terms together
# Start with a list, iterate by multiplying the previous 3 terms together
# and end with a term defined by a function.
# and end with a term defined by a function.
put 1, -.5, 2.sqrt, * * * * * … *.abs < 1e-2;
put 1, -.5, 2.sqrt, * × * × * … *.abs < 1e-2;


# Start with an array, iterate by rotating, end when 0 is in the last place.
# Start with an array, iterate by rotating, end when 0 is in the last place.