Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Passing values from structure arrays to a generic geometrical mean function Date: Fri, 03 Feb 2017 08:32:15 -0800 Organization: None to speak of Lines: 45 Message-ID: References: <87wpdgvzmp.fsf@bsb.me.uk> <522dd411-1a86-49fb-8df7-a1384f3c5da8@googlegroups.com> <4f8b2e49-6a8b-fb05-e35b-d21fb00f6779@verizon.net> <899963c8-4716-422b-93c9-59e98c91a160@googlegroups.com> <43aa17b1-6286-8ec5-c9d7-fe59d88c1688@verizon.net> <39f310e9-691c-4a27-9d9f-bc9114854af8@googlegroups.com> <816ac4fc-3e93-cd1b-e4b9-ce0eac72da7e@verizon.net> <7af44069-dfe1-48ce-8c6e-33aed7131a02@googlegroups.com> <54ce71f7-5db5-0d83-c2f6-bc37acf070c1@verizon.net> <2be1c4a8-64ed-4e33-86fc-00ae8dee873b@googlegroups.com> <5336a413-574b-dbdc-013c-e4e5f8907b0f@verizon.net> <5c731498-13a4-4d5e-b962-c104d9e77d6c@googlegroups.com> <964f69c6-0a5b-4bd1-aa79-326464efcc10@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="abc513047bd7eb6502f52aab060309cd"; logging-data="4431"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jUm3Ej4BlhjCp1feVmfYq" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:6A2lyTj4JPpgN3tVdbJz/IFfiss= sha1:euBvoC4HhFa/PfsQy58lRwC9S6U= Xref: csiph.com comp.lang.c:103042 Alla _ writes: > On Wednesday, February 1, 2017 at 12:37:25 AM UTC+3, Keith Thompson wrote: >> Alla _ writes: >> > On Monday, January 30, 2017 at 11:41:08 PM UTC+3, Keith Thompson wrote: >> [...] >> >> Personally, I'd like to see a rationale for the way your >> >> mean_twonums() function works. >> [...] >> >> > Yes, I understand it. >> >> I didn't ask whether you understand it. I'm saying I don't understand >> it, and I'm asking you to explain it. Do you refuse to do so? >> > No, I do not refuse to explain anything. But I am flabbergasted > by the whole discussion because I have explained myself from the > very start, and did make explicit remarks on what and why I am > doing with this program. I have said quite a few times that this is > not a rigorously correct program that deals with real life situations, > although it does contain the majority of usual basic tools of fin > analysis. But it also contains features that I have added for the sake > of programming in C, to make the program more extensive, to add > some features, which might be useful for me in future, to work on > some C issues I wanted to work, etc. [...] So your geomean() function doesn't compute anything useful, and it was never intended to? I question the usefulness of doing something like that. It means you can't really tell whether your program is working correctly, because there's no such thing as correctness. And no, it wasn't clear (to me at least, and apparently to several others) that that's what you were doing. Your evasiveness when asked what the function means was not helpful, and we wasted time trying to figure out the meaning of something that apparently didn't have one. Or am I still misunderstanding? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"