Deutsch English Français Italiano |
<86le12ci0d.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> Newsgroups: comp.lang.c Subject: Re: how cast works? Date: Mon, 12 Aug 2024 00:33:38 -0700 Organization: A noiseless patient Spider Lines: 34 Message-ID: <86le12ci0d.fsf@linuxsc.com> References: <v8vlo9$2oc1v$1@dont-email.me> <slrnvb7kis.28a.dan@djph.net> <v929ah$3u7l7$1@dont-email.me> <87ttfu94yv.fsf@nosuchdomain.example.com> <v93a3t$6q7v$1@dont-email.me> <v93e2q$8put$1@dont-email.me> <87bk228uzg.fsf@nosuchdomain.example.com> <v94pji$m1ib$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Mon, 12 Aug 2024 09:33:39 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f42e4005105099d89c60a754521770ce"; logging-data="3351160"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WTxQIP8mM29S8SdZe+YT8yoUo9L72YfE=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Wl9Hn7EDDS4y2FXl5BvmHRt02VQ= sha1:yUMnYIRml5N7BZEM6hbaUNtnSgo= Bytes: 2194 Bart <bc@freeuk.com> writes: > On 09/08/2024 00:17, Keith Thompson wrote: > >> Bart <bc@freeuk.com> writes: >> [...] >> >>> Take: >>> >>> int a; double x; >>> >>> x = (double)a; >>> >>> The cast is implicit here but I've written it out to make it >>> clear. [...] > Since C likes to use the term 'cast' for such conversions, [...] The C standard uses the term 'cast' only for explicit conversions, and never uses the term 'cast' for implicit conversions. You should do the same. > It just seems to irk the pedantics here. What bothers people is not you using the wrong terminology. What bothers people is you being a self-centered jerk, and deliberately using incorrect terminology just to annoy people. Incidentally, the word "pedantic" is an adjective. The noun form is "pedant". People who complain about you using terminology incorrectly are not being pedants. They simply are offended by your never-ending efforts to be a pest and an asshole.