This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000: floating point cast oddities?
- From: degger at fhm dot edu
- To: dalej at apple dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 Dec 2001 21:53:49 +0100 (CET)
- Subject: Re: rs6000: floating point cast oddities?
- Reply-to: degger at fhm dot edu
On 17 Dec, Dale Johannesen wrote:
>> What I expect it do to is:
>> Load a single precision 1.0 and add it to the register
>> of the second parameter.
> No, according to the language 1.0 is double, and the addition
> should therefore be done in double. You can write 1.0f to
> specify a float 1.0.
This seems pretty strange to me. Would you please cite the passage
of the specification?
--
Servus,
Daniel