Catalan numbers/Pascal's triangle: Difference between revisions

m
bigatom version is below
m (added comments)
m (bigatom version is below)
Line 757:
=={{header|Phix}}==
Calculates the minimum pascal triangle in minimum memory. Inspired by the comments in, but not the code of the FreeBasic example
<lang Phix>constant N = 15 -- accurate to 30, nan/inf for anything over 514 (bigatom version is below).
sequence catalan = {}, -- (>=1 only)
p = repeat(1,N+1)
7,820

edits