[Shootout-list] Re: sumcol - when the correct answer is wrong :-)

Bengt Kleberg bengt.kleberg@ericsson.com
Tue, 21 Sep 2004 10:31:26 +0200


Brent Fulgham wrote:
...deleted
> thought things like this overflow issue, string buffer
> overruns, and so forth would be good things to
> highlight in the shootout.

simple test of integer overflow: 123! => 
12146304367025329675766243241881295855454217088483382315328918161829235892362167668831156960612640202170735835221294047782591091570411651472186029519906261646730733907419814952960000000000000000000000000000

string buffer overruns, and array index out of range, needs buffers and 
arrays, something that i am not very familiar with since erlang does not 
have them :-)


bengt