Numerical integration/Adaptive Simpson's method: Difference between revisions

(→‎{{header|COBOL}}: Added in "need of improvement" - all numeric fields are currently unsigned.)
Line 598:
compute tol0 = tol * (x4 - x0)
compute tol1 = tol * (x2 - x0)
if (tol1 = tol0) or (abs-delta <= 15 * tol0) then
compute delta15 = delta / 15
compute stepval = ruleval0 + ruleval1 + delta15
1,448

edits