Deutsch English Français Italiano |
<v95uar$3fvsp$1@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: Bart <bc@freeuk.com> Newsgroups: comp.lang.c Subject: Re: how cast works? Date: Fri, 9 Aug 2024 21:31:23 +0100 Organization: A noiseless patient Spider Lines: 30 Message-ID: <v95uar$3fvsp$1@dont-email.me> 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> <87msll7b61.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 09 Aug 2024 22:31:23 +0200 (CEST) Injection-Info: dont-email.me; posting-host="a5ef0e336b797e59eb82473df0f29c2d"; logging-data="3669913"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NNJetZA77iQjO/cKWhjxD" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:J3DgduE+jm9vMDs9Wq9u0nXMJp8= Content-Language: en-GB In-Reply-To: <87msll7b61.fsf@nosuchdomain.example.com> Bytes: 2137 On 09/08/2024 20:23, Keith Thompson wrote: > Bart <bc@freeuk.com> writes: > [...] >> Since C likes to use the term 'cast' for such conversions, > > C never uses the term "cast" to refer to implicit conversions. > >> I don't see >> a problem with talking about implicit and explicit versions. >> >> It just seems to irk the pedantics here. > > That does seem to be your goal. > With: > x = (double)a; > The cast is implicit here but I've written it out to make it clear. I was replying to Thiago Adams. I didn't choose to muddy the waters. Dragging C standard legalese really doesn't help here. (90% of the discussion here could be shut down with people refered to the C standard. What else is needed to answer nearly all questions asked? Could it possibly be a more human, informal element?)