libstdc++/7706: asinh, acosh, atanh are not put in std:: by <cmath>
Sylvain Pion
Sylvain.Pion@sophia.inria.fr
Sun May 11 09:45:00 GMT 2003
Gaby,
On Sun, May 11, 2003 at 11:29:17AM +0200, Gabriel Dos Reis wrote:
> Gabriel Dos Reis <gdr@acm.org> writes:
>
> | http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7706
> |
> | Sylvain --
> |
> | This is not a bug nor an oversight in libstdc++.
> | Contrary to your assertion, the Standard does not say that
> | asinh, acosh and atanh should be put in namespace std::.
> | Have a look at table 80.
Indeed I was wrong, it is not a bug.
> Would you be happy if those functions were enabled only if you request
> C99 support? Ideally, they should have been part of C90.
Isn't the issue of adding C99 functions dealt with by the C++ commitees ?
I think I would be happy with whatever is decided for the standard to come.
In the mean time, I guess I can use <math.h> and get those functions from
the global namespace.
So if the C99 issues in general are going to be taken care of by the standard,
and later by GCC, then this precise PR can probably be closed.
--
Sylvain
More information about the Gcc-bugs
mailing list