Re: Overcoming the proof of undecidability of the Halting Problem by a simple example in C

Liste des GroupesRevenir à theory 
Sujet : Re: Overcoming the proof of undecidability of the Halting Problem by a simple example in C
De : ben (at) *nospam* bsb.me.uk (Ben Bacarisse)
Groupes : comp.theory
Date : 19. May 2025, 01:27:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87v7pxzbp4.fsf@bsb.me.uk>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Gnus/5.13 (Gnus v5.13)
Richard Heathfield <rjh@cpax.org.uk> writes:

On 18/05/2025 23:18, Ben Bacarisse wrote:
Richard Heathfield <rjh@cpax.org.uk> writes:
...
If they know C they should know that it's
  u32 HHH(void (*P)()), according to Halt7.c.
>
It takes a pointer to a function that accepts no arguments and returns no
value.
Yes, but I am surprised that you are being so modern!!  You used to
favour C90 and didn't really care for anything more recent.
>
I am just as surprised that you missed the distinction I was making, which
was between these:
>
void HHH(void (*f)(void))
u32 HHH(void (*P)())
>
Empty parentheses had nothing to do with my point. On line 16 we find:
typedef uint32_t u32;
>
uint32_t != void.

Yes, I got the distinction you were making, but I must have got confused
about the referent of "it" in the part I quoted.  I was hoping to add
to the discussion despite ignoring your main point.  Sorry.

--
Ben.

Date Sujet#  Auteur
2 Nov 25 o 

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal