------- Comment #9 from paolo dot carlini at oracle dot com  2008-08-29 18:46 
-------
FWIW, this kind of contortion appear to work, but really I'd rather prefer not
using it...

namespace my_std
{
  inline double
  atan(double __x)
  { return __builtin_atan(__x); }

  inline double
  atanh(double __x)
  { return __builtin_atanh(__x); }
}

namespace std
{
  using ::my_std::atan;
  using ::my_std::atanh;
}

int main()
{
  std::atan(.3);     // works
  std::atanh(.3);    // works
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37276

Reply via email to