TPK algorithm: Difference between revisions

Content deleted Content added
Ricvelozo (talk | contribs)
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 19:
 
==[[ALGOL 60]] implementation==
<sourcesyntaxhighlight lang="Pascal">
begin integer i; real y; real array a[0:10];
real procedure f(t); real t; value t;
Line 30:
end
end.
</syntaxhighlight>
</source>
 
The problem with the usually specified function is that the term <code>5 * t ^ 3</code> gives overflows in almost all languages for very large negative values.