std::erf not in cmath?

Nico Schlömer nico.schloemer@gmail.com
Thu Dec 13 17:05:00 GMT 2012


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?

--Nico



More information about the Gcc-help mailing list