Logo

Programming-Idioms

History of Idiom 54 > diff from v32 to v33

Edit summary for version 33 by tkoenig:
New Fortran implementation by user [tkoenig]

Version 32

2019-09-26, 15:19:38

Version 33

2019-09-26, 17:28:02

Idiom #54 Compute sum of integers

Calculate the sum s of integer list x.

Idiom #54 Compute sum of integers

Calculate the sum s of integer list x.

Code
   s = sum(x)