------- Comment #1 from pinskia at gcc dot gnu dot org 2010-04-19 22:56 ------- That is because you are using the double version of ctanh rather than the long double version for the C case.
Changing the C testcase to use ctanhl and you get the same value for the C/C++ cases. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43802