Missing TR1 cmath functions

Paolo Carlini paolo.carlini@oracle.com
Wed Aug 27 22:26:00 GMT 2008


John Maddock wrote:
> #include <tr1/cmath>
>
> int main()
> {
> std::tr1::tgamma(0);
> }
>
> leads to:
>
> t.cpp: In function 'int main()':
> t.cpp:5: error: 'tgamma' is not a member of 'std::tr1'
Works for me, both with mainline and 4_3-branch.

Paolo.



More information about the Libstdc++ mailing list