Bug 216861

Summary: C11 conformance: ctanhl() is missing
Product: Base System Reporter: sgk
Component: standardsAssignee: freebsd-numerics (Nobody) <numerics>
Status: Open ---    
Severity: Affects Many People CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Bug Depends on: 240295    
Bug Blocks:    

Description sgk 2017-02-06 19:44:19 UTC
#include <complex.h>
long double complex
foo(long double complex z)
{
   return (ctanhl(z));
}

cc -c foo.c
foo.c:7:12: warning: implicitly declaring library function 'ctanhl' with type
      '_Complex long double (_Complex long double)'
      [-Wimplicit-function-declaration]
   return (ctanhl(z));
           ^
foo.c:7:12: note: include the header <complex.h> or explicitly provide a
      declaration for 'ctanhl'
1 warning generated.