Deutsch English Français Italiano |
<v8fh97$234i8$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Mikko <mikko.levanto@iki.fi> Newsgroups: comp.theory Subject: Re: Any honest person that knows the x86 language can see... predict correctly Date: Thu, 1 Aug 2024 11:33:43 +0300 Organization: - Lines: 29 Message-ID: <v8fh97$234i8$2@dont-email.me> References: <v887np$gl15$1@dont-email.me> <v8a2j5$u4t6$1@dont-email.me> <v8asse$12hr3$2@dont-email.me> <v8aukp$12grj$1@dont-email.me> <v8b00m$12ojm$1@dont-email.me> <v8bchs$15ai5$1@dont-email.me> <v8bh32$15une$1@dont-email.me> <d89f03c5a605f010ec3c83c50137b983dc85848e@i2pn2.org> <v8bl2j$16ibk$2@dont-email.me> <tiuiaj5jf0jqcfcfntko5hufisp8mb93bm@4ax.com> <v8bu91$18b7k$2@dont-email.me> <ddb7a467da20b6a6bd90aee9735a62ae68cac50e.camel@gmail.com> <v8f0ni$204k7$1@dont-email.me> <c27d1515dc37261302985fc014ea04b6fce872b6.camel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 01 Aug 2024 10:33:44 +0200 (CEST) Injection-Info: dont-email.me; posting-host="cf6c3700573d19c81f9562406f33b929"; logging-data="2200136"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194xchw+vC3rM0gfcMZIuV/" User-Agent: Unison/2.2 Cancel-Lock: sha1:h60lEeVYqti+2BpcnzvcQVymEO8= Bytes: 1986 On 2024-08-01 04:03:36 +0000, wij said: >> int main() >> { >> HHH(DDD); >> } That is not very useful. Running this program may demostrate that HHH answers but does not reveal the answer. The program should be: void output(char *); // in Olcott's library int main () { output("Asking HHH whether DDD will halt."); int ans = HHH(DDD); if (ans) { output("HHH predicts that DDD will halt."); } else { output("HHH predicts that DDD will not halt."); } output("Running DDD"); DDD(); output("DDD halted"); return ans; } -- Mikko