Liste des Groupes | Revenir à theory |
On 7/14/2024 3:00 AM, Mikko wrote:In that case, how do you justify "You are stupidly saying"?On 2024-07-13 18:15:35 +0000, olcott said:Infinite_Loop() is emulated in its own process context.
On 7/13/2024 12:25 PM, Richard Damon wrote:On 7/13/24 12:48 PM, olcott wrote:You are stupidly saying that Infinite_Loop() will halt becauseWhat is the correct halt status for an input toHalting.
a simulating termination analyzer that calls its
own termination analyzer?
typedef void (*ptr)();
int HHH(ptr P);
void DDD()
{
HHH(DDD);
}
int main()
{
HHH(DDD);
}
Since HHH defined to be a termination analyzer, by that definition it must return to its caller.
Since DDD has no inputs, its behavior isn't affected by any inputs, and thus DDD will halt for ALL input conditions, so
it has no inputs.void Infinite_Loop()You are stupidly saying that Infinite loop is executed as a part of HHH.
{
HERE: goto HERE;
}
Les messages affichés proviennent d'usenet.