------- Comment #2 from pcarlini at suse dot de 2008-02-07 12:07 ------- Just wanted to add that we are also providing a <tr1/cmath>, conforming to the TR1 specifications, which indeed makes available std::tr1::log2, and also, in the forthcoming 4.3.0, std::log2, as part of <cmath>, enabled in the experimental C++0x mode, -std=c++0x: in fact the next C++0x standard will know about all the C99 math functions.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35104