This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: expand and truncate and 387
- To: law at cygnus dot com, moshier at mediaone dot net
- Subject: Re: expand and truncate and 387
- From: N8TM at aol dot com
- Date: Thu, 19 Nov 1998 21:16:56 EST
- Cc: egcs at cygnus dot com, pcg at goof dot com
In a message dated 11/19/98 3:10:03 PM Pacific Standard Time, law@cygnus.com
writes:
> > Assuming the usual long-double precision control setting,
> > converting from lower to higher precision is a no-op.
> Is that something we can safely assume? I don't think so.
>
Don't the other control settings simply limit the maximum precision available?
The single precision setting is not recommended, presumably since it
eliminates double, so there is no point in making conversions work under it.
This leaves conversion from single (float) to double, and doesn't that work
the same regardless of whether the control setting is double or long double?