mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-20 17:51:16 +00:00
58e071515a
(libm-routines): Construct this from those. (calls): New variable. (routines): Construct this from it. * resolv/res_debug.c: Add missing #include <ctype.h>. * sysdeps/unix/getlogin.c: Must pass struct utmp ptr to getutline_r. * sysdeps/unix/getlogin_r.c: Likewise. * sysdeps/libm-ieee754/w_hypotl.c: Fix typo. * sysdeps/libm-ieee754/w_cabsl.c: __cabsl_complex -> __cabs_complexl * math/Makefile (long-m-routines): Define recursive variable as $(long-m-$(long-double-fcts)). (long-m-yes): Put list of routines here. (long-c-routines, long-c-yes): Likewise. * sysdeps/unix/sysv/linux/schedbits.h: File removed. * sysdeps/i386/Makefile (long-double-fcts): New variable, set to yes. * sysdeps/m68k/Makefile: Likewise. * math/Makefile [$(long-double-fcts)!=yes] (CPPFLAGS): Append -DNO_LONG_DOUBLE.
19 lines
345 B
C
19 lines
345 B
C
/*
|
|
* cabsl() wrapper for hypotl().
|
|
*
|
|
* Written by J.T. Conklin, <jtc@wimsey.com>
|
|
* Conversion to long double by Ulrich Drepper,
|
|
* Cygnus Support, drepper@cygnus.com.
|
|
* Placed into the Public Domain, 1994.
|
|
*/
|
|
|
|
#include <math.h>
|
|
|
|
long double
|
|
__cabsl(z)
|
|
struct __cabs_complexl z;
|
|
{
|
|
return __hypotl(z.x, z.y);
|
|
}
|
|
weak_alias (__cabsl, cabsl)
|