This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: std::pow implementation
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, gdr at integrable-solutions dot net
- Cc: aoliva at redhat dot com, bernds at redhat dot com, gcc at gcc dot gnu dot org,jbuck at synopsys dot com, rguenth at tat dot physik dot uni-tuebingen dot de,s dot bosscher at student dot tudelft dot nl
- Date: Mon, 4 Aug 2003 14:19:36 -0400 (EDT)
- Subject: Re: std::pow implementation
> It is an "as-if" rule only because that is the way it is described in
> standardese. In the C++ community, we do care about history and
> documented behaviour. You won't change that, just because you want
> C++ inline to have a less language specific meaning.
It's the only possibloe description in standardese here.
The point is that appealing to the ISO standard (as you did a few msgs ago)
is not particularly helpful, since the standard really has nothing to say.
This is a matter that must be decided, as with any code generation issue,
on the basis of what is pragnmatically best.