I've attached a patch to the issue that implements explicit specializations on the three floating types for most of the C++ '98 complex primary function templates and has each call the corresponding gcc built-in function. The patch is pretty simple but it involves a fair amount of code. Since we have no test for this yet I'd appreciate if I could get another pair of eyes to look at it with me in case I screwed something up.
http://issues.apache.org/jira/browse/STDCXX-722 Thanks Martin
