From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15324 invoked by alias); 24 Aug 2002 06:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 15311 invoked by uid 71); 24 Aug 2002 06:16:01 -0000 Date: Sat, 24 Aug 2002 00:26:00 -0000 Message-ID: <20020824061601.15310.qmail@sources.redhat.com> To: gdr@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Gabriel Dos Reis Subject: Re: libstdc++/7706: asinh, acosh, atanh are not put in std:: by Reply-To: Gabriel Dos Reis X-SW-Source: 2002-08/txt/msg00519.txt.bz2 List-Id: The following reply was made to PR libstdc++/7706; it has been noted by GNATS. From: Gabriel Dos Reis To: Sylvain.Pion@sophia.inria.fr Cc: gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/7706: asinh, acosh, atanh are not put in std:: by Date: 24 Aug 2002 08:02:37 +0200 Let me exapnd a bit on this. Sylvain.Pion@sophia.inria.fr writes: | asinh/acosh/atanh are in the ISO C 99 standard math.h A torny issue is how to handle functions added by C99 but not present in C90 (which C++ use). The above three functions are -not- defined by C++. They might slip into your codes because your system define them. In that case, we don't try to to anything with them. I would much prefer to leave them as is for the moment, and devise a general approach to C99 extensions. | Compiling the following program gives : | essai_asinh.C: In function `int main()': | essai_asinh.C:6: error: `asinh' undeclared in namespace `std' | essai_asinh.C:7: error: `acosh' undeclared in namespace `std' | essai_asinh.C:8: error: `atanh' undeclared in namespace `std' This cannot be qualified as "rejects-legal" since the code is technically invalid. -- Gaby