This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::erf not in cmath?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]