diff options
-rw-r--r-- | include/complex.h | 3 | ||||
-rw-r--r-- | lib/msun/Makefile | 9 | ||||
-rw-r--r-- | lib/msun/Symbol.map | 2 | ||||
-rw-r--r-- | lib/msun/src/math.h | 2 |
4 files changed, 9 insertions, 7 deletions
diff --git a/include/complex.h b/include/complex.h index 24251f2..4613d16 100644 --- a/include/complex.h +++ b/include/complex.h @@ -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); diff --git a/lib/msun/Makefile b/lib/msun/Makefile index 2f86fb3..c208261 100644 --- a/lib/msun/Makefile +++ b/lib/msun/Makefile @@ -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 \ diff --git a/lib/msun/Symbol.map b/lib/msun/Symbol.map index 309b45a..e0fe88a 100644 --- a/lib/msun/Symbol.map +++ b/lib/msun/Symbol.map @@ -203,4 +203,6 @@ FBSD_1.1 { tanl; tgammaf; sqrtl; + hypotl; + cabsl; }; diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index d7e52ed..78fb995 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -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 |