Motzkin numbers: Difference between revisions

m
(→‎{{header|Raku}}: Add alternate)
Line 298:
</pre>
Alternative. Note that under 32-bit and p2js M[37] happens by chance to be correct, even though
an intermediate value exceeds precision, and(in thethis finalcase dividebeing byrounded (i+1)to results inthe anearest whole integermultiple
of 16), and the final divide by (i+1) results in a whole integer simply because there isn't enough precision to hold any decimal places.
precision to hold any decimal places.
Output as above on 64-bit, less four entries under 32-bit and pwa/p2js.
<!--<lang Phix>(phixonline)-->
7,831

edits