std::erf not in cmath?

Nico Schlömer nico.schloemer@gmail.com
Fri Dec 14 07:56:00 GMT 2012


Thanks; bug filed at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55682.

On Fri, Dec 14, 2012 at 2:02 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 13 December 2012 17:04, Nico Schlömer wrote:
>> Hi,
>>
>> according to https://en.wikipedia.org/wiki/Error_function, the erf()
>> function is part of the C++11 standard. It's already implemented in
>> math.h and accessible after
>>
>> #include <math.h>
>>
>> but for some reason, erf() and erfc() are not contained in cmath. Is this a bug?
>
> Yes.



More information about the Gcc-help mailing list