Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Thiago Adams
Newsgroups: comp.lang.c
Subject: Re: how cast works?
Date: Thu, 8 Aug 2024 17:34:04 -0300
Organization: A noiseless patient Spider
Lines: 35
Message-ID:
References:
<87ttfu94yv.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 08 Aug 2024 22:34:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c24a25e0e0574963f5160c2b1c68553a";
logging-data="223487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VSK+0CGCxgtUxu1t2bsVourE7BkWTDgs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:beGq4CAHAT+3gjqgsBiWAz3u7eU=
In-Reply-To: <87ttfu94yv.fsf@nosuchdomain.example.com>
Content-Language: en-US
Bytes: 2266
On 08/08/2024 16:42, Keith Thompson wrote:
> Thiago Adams writes:
>> On 07/08/2024 17:00, Dan Purgert wrote:
>>> On 2024-08-07, Thiago Adams wrote:
> [...]
>>>> How about floating point?
>>> Floating point is a huge mess, and has a few variations for
>>> encoding;
>>> though I think most C implementations use the one from the IEEE on 1985
>>> (uh, IEEE754, I think?)
>>
>> I didn't specify properly , but my question was more about floating
>> point registers. I think in this case they have specialized registers.
>
> Who is "they"?
>
> Some CPUs have floating-point registers, some don't. C says nothing
> about registers.
>
> What exactly is your question? Is it not already answered by reading
> the "Conversions" section of the C standard?
>
This part is related with the previous question about the origins of
integer promotions.
We don't have "char" register or signed/unsigned register. But I believe
we may have double and float registers. So float does not need to be
converted to double.
There is no specif question here, just trying to understand the
rationally behind the conversions rules.