Munchausen numbers: Difference between revisions

m
→‎version 2: changed highlighting, used a template for the output section.
m (added highlighting, added whitespace for the TOC.)
m (→‎version 2: changed highlighting, used a template for the output section.)
Line 1,874:
This REXX version uses the requirement that   '''0**0'''   equals zero.
 
It is about   '''2.5'''   times faster than REXX version 1.
 
For the high limit of   '''5,000''',   optimization isn't needed.   But for much higher limits, optimization becomes significant.
Line 1,890:
end /*while*/ /* [↑] get a digit.*/
return $==ox /*it is or it ain't.*/</lang>
{{out|output|text=&nbsp; when using the default input:}}
'''output'''
<pre>
1 is a Münchhausen number.