This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
std::erf not in cmath?
- From: Nico Schlömer <nico dot schloemer at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 13 Dec 2012 18:04:51 +0100
- Subject: std::erf not in cmath?
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