Hook hypotl() and cabsl() up to the build.
This commit is contained in:
parent
01a13522ad
commit
84c1c0a1ca
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* Copyright (c) 2001-2007 The FreeBSD Project.
|
||||
* Copyright (c) 2001-2008 The FreeBSD Project.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -45,6 +45,7 @@ __BEGIN_DECLS
|
||||
|
||||
double cabs(double complex);
|
||||
float cabsf(float complex);
|
||||
long double cabsl(long double complex);
|
||||
double carg(double complex);
|
||||
float cargf(float complex);
|
||||
double cimag(double complex);
|
||||
|
@ -79,10 +79,10 @@ SYMBOL_MAPS= ${SYM_MAPS}
|
||||
COMMON_SRCS+= s_copysignl.c s_fabsl.c s_llrintl.c s_lrintl.c s_modfl.c
|
||||
.if ${LDBL_PREC} != 53
|
||||
# If long double != double use these; otherwise, we alias the double versions.
|
||||
COMMON_SRCS+= e_sqrtl.c k_cosl.c k_sinl.c k_tanl.c s_ceill.c s_cosl.c \
|
||||
s_exp2l.c s_floorl.c s_fmal.c \
|
||||
COMMON_SRCS+= e_hypotl.c e_sqrtl.c k_cosl.c k_sinl.c k_tanl.c \
|
||||
s_ceill.c s_cosl.c s_exp2l.c s_floorl.c s_fmal.c \
|
||||
s_frexpl.c s_logbl.c s_nanl.c s_nextafterl.c s_nexttoward.c \
|
||||
s_rintl.c s_scalbnl.c s_sinl.c s_tanl.c s_truncl.c
|
||||
s_rintl.c s_scalbnl.c s_sinl.c s_tanl.c s_truncl.c w_cabsl.c
|
||||
.endif
|
||||
|
||||
# C99 complex functions
|
||||
@ -144,7 +144,8 @@ MLINKS+=fma.3 fmaf.3 fma.3 fmal.3
|
||||
MLINKS+=fmax.3 fmaxf.3 fmax.3 fmaxl.3 \
|
||||
fmax.3 fmin.3 fmax.3 fminf.3 fmax.3 fminl.3
|
||||
MLINKS+=fmod.3 fmodf.3
|
||||
MLINKS+=hypot.3 cabs.3 hypot.3 cabsf.3 hypot.3 hypotf.3
|
||||
MLINKS+=hypot.3 cabs.3 hypot.3 cabsf.3 hypot.3 cabsl.3 \
|
||||
hypot.3 hypotf.3 hypot.3 hypotl.3
|
||||
MLINKS+=ieee_test.3 scalb.3 ieee_test.3 scalbf.3
|
||||
MLINKS+=ieee_test.3 significand.3 ieee_test.3 significandf.3
|
||||
MLINKS+=ilogb.3 ilogbf.3 ilogb.3 ilogbl.3 \
|
||||
|
@ -203,4 +203,6 @@ FBSD_1.1 {
|
||||
tanl;
|
||||
tgammaf;
|
||||
sqrtl;
|
||||
hypotl;
|
||||
cabsl;
|
||||
};
|
||||
|
@ -427,9 +427,7 @@ long double fminl(long double, long double) __pure2;
|
||||
long double fmodl(long double, long double);
|
||||
#endif
|
||||
long double frexpl(long double value, int *); /* fundamentally !__pure2 */
|
||||
#if 0
|
||||
long double hypotl(long double, long double);
|
||||
#endif
|
||||
int ilogbl(long double) __pure2;
|
||||
long double ldexpl(long double, int);
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user