Liste des Groupes | Revenir à c theory |
On 2/24/2025 9:03 AM, dbush wrote:On 2/24/2025 9:48 AM, olcott wrote:On 2/24/2025 7:11 AM, dbush wrote:On 2/24/2025 12:17 AM, olcott wrote:On 2/23/2025 11:08 PM, dbush wrote:On 2/24/2025 12:01 AM, olcott wrote:On 2/23/2025 10:45 PM, dbush wrote:
Interesting. What, then, is HHH really, if not a simulator?No, not this at all. That would be nothing like HHH or HHH with itsint F(uintptr_t p)You say that you code stops after ten recursions and also say that itI'll let you respond to yourself on this point:The above code proves that there's no way forIt looks like you have always been wrong about your code not
no_numbers_greater_than_10 correctly simulated by F to reach its
own "return" instruction.
Therefore F would be correct to report that
no_numbers_greater_than_10 is non-halting.
Agreed?
>
terminating. It looks like you never understood what you have been
talking about.
>
On 11/10/2024 10:11 AM, olcott wrote:
> If you had a basis in reasoning to show that I was wrong on this
> specific point you could provide it. You have no basis in
> reasoning on this specific point all you have is presumption.
>
never stops.
>
{
/* replace all code with an unconditional simulator */
abort code disabled.
--}
int no_numbers_greater_than_10()
{
return F((uintptr_t)no_numbers_greater_than_10);
}
int main()
{
F((uintptr_t)no_numbers_greater_than_10);
return 0;
}
Try and show how the above code (i.e. no_numbers_greater_than_10
correctly simulated by F) can possibly reach the final "return"
instruction of no_numbers_greater_than_10
F would be correct to report the above as non-halting
Les messages affichés proviennent d'usenet.