octave.exe:2> test('../src/pt-jit.cc', 'verbose')
>>>>> C:\Software\MinGW\msys\1.0\home\goffioul\src\octave-hg-gui\src/pt-jit.cc
***** test
inc = 1e-5;
result = 0;
for ii = 0:inc:1
result = result + inc * (1/3 * ii * ii);
endfor
assert (abs (result - 1/9) < 1e-5);
***** test
inc = 1e-5;
result = 0;
for ii = 0:inc:1
# the ^ operator's result is complex
result = result + inc * (1/3 * ii ^ 2);
endfor
assert (abs (result - 1/9) < 1e-5);
panic: Segmentation violation -- stopping myself...
Michael.