Liste des Groupes | Revenir à l c |
On 4/5/2025 7:54 PM, James Kuyper wrote:Sure they are.On 06/04/2025 00:18, olcott wrote:typedef void (*ptr)();
...Termination analyzers are not required to be infallible.>
The Halting Problem refers to the impossibility of an infallible
termination analyzer. Fallible termination analyzers are trivially
possible - the question's not worth thinking about.
int HHH(ptr P);
int DD()
{
int Halt_Status = HHH(DD);
if (Halt_Status)
HERE: goto HERE;
return Halt_Status;
}
int main()
{
HHH(DD);
}
They are not trivially possible for the above input.
Les messages affichés proviennent d'usenet.