ikarus/benchmarks.larceny/src/sumloop.awk

12 lines
146 B
Awk
Raw Normal View History

#! /usr/bin/awk -f
function sumloop( m ) {
for (i = 0; i < m; i++) {
return_value++
}
return return_value
}
BEGIN {
sumloop( 100000000 )
}