This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: real.c implementation
At 01:55 AM 10/22/2002, Andrew Haley wrote:
Richard Henderson writes:
> On Mon, Oct 21, 2002 at 11:42:56PM -0400, Robert Dewar wrote:
> > The same is true of course for Ada, but what we do in Ada is have the
> > front end take care of everything, we do not trust the back end of GCC
> > or the assembler to do conversions correctly.
> >
> > I am surprised that the Mercury compiler does not take the same
approach.
>
> That seems like a complete waste of effort. Why not do it
> correctly, once, in the right place?
I agree. gcj, if course, requires exact IEEE float conversion and
relies on gcc to do it right,
And what happens if the platform doesn't have IEEE floating point and
uses a different floating point format?
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message