[Bug libstdc++/48933] Infinite recursion in tr1/cmath functions with complex parameters

bisqwit at iki dot fi gcc-bugzilla@gcc.gnu.org
Mon May 9 11:00:00 GMT 2011


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

--- Comment #4 from Joel Yliluoma <bisqwit at iki dot fi> 2011-05-09 10:51:28 UTC ---
There is, however, an asinh, a cbrt, a hypot etc. for complex types. I don't
know about standard, but mathematically they are well defined. (for example,
hypot(x,y) = sqrt(x*x + y*y), asinh(x) = log(x + sqrt(x*x + 1)))

For trunc & other rounding functions probably not so.



More information about the Gcc-bugs mailing list