This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add C++ special math functions to C++17
- From: Ed Smith-Rowland <3dw4rd at verizon dot net>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>, Jakub Jelinek <jakub at redhat dot com>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 11 Mar 2016 11:31:01 -0500
- Subject: Re: Add C++ special math functions to C++17
- Authentication-results: sourceware.org; auth=none
- References: <20160310102417 dot GB16308 at physik dot fu-berlin dot de> <56E1924E dot 6070703 at verizon dot net> <CAH6eHdQ0Zc3XNsHtN9ExCyWZd0mQ9oLnAs80Vna8gDvj8JbDUA at mail dot gmail dot com>
On 03/11/2016 10:55 AM, Jonathan Wakely wrote:
The change approved in Jacksonville was to only add the special
functions to <cmath> and not <math.h>
That's easy.
OK, since they changed that and the macro and made it nonconditional I
should also drop the old-style macros __WANT_MATH_CANNEVERREMEMBER__ and
the old-style version macro.
So, in other words, we're *not* actually supporting TR29124 (that's fine
by me).
We can tweak the web pages.
People on C++11, C++14 can use tr1.
Did they keep the Cisms like:
float
foobarf(float x);
double
foobar(double x);
long double
foobarl(long double x);
I am keeping an eye out for the words of the draft github.
Maybe I'll ping Axel and Walter.
Ed