Liste des Groupes | Revenir à theory |
On 7/14/2024 3:09 AM, Mikko wrote:But if HHH does abort and return 0, then the full correct simulaton of the input DDD (which need to include that HHH that aborted at the address) will halt, HHH did not "need" to abort.On 2024-07-13 20:15:56 +0000, olcott said:*You can comprehend this is a truism or fail to*
>typedef void (*ptr)();>
int HHH(ptr P);
>
void Infinite_Loop()
{
HERE: goto HERE;
}
>
void Infinite_Recursion()
{
Infinite_Recursion();
}
>
void DDD()
{
HHH(DDD);
}
>
int main()
{
HHH(Infinite_Loop);
HHH(Infinite_Recursion);
HHH(DDD);
}
>
Any input that must be aborted to prevent the non
termination of HHH necessarily specifies non-halting
behavior or it would never need to be aborted.
Everyone understands that DDD specifies a halting behaviour if HHH(DDD) does,
*comprehend it disagreement is necessarily incorrect*
Any input that must be aborted to prevent the non
termination of HHH necessarily specifies non-halting
behavior or it would never need to be aborted.
Disagreeing with the above is analogous to disagreeing
with arithmetic.
Les messages affichés proviennent d'usenet.