@@ -4359,33 +4359,6 @@ AC_CHECK_FUNCS([acosh asinh atanh copysign erf erfc expm1 finite gamma])
43594359AC_CHECK_FUNCS ( [ hypot lgamma log1p log2 round tgamma] )
43604360AC_CHECK_DECLS ( [ isinf, isnan, isfinite] , [ ] , [ ] , [ [ #include <math.h>] ] )
43614361
4362- # On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of
4363- # -0. on some architectures.
4364- AC_MSG_CHECKING ( whether tanh preserves the sign of zero )
4365- AC_CACHE_VAL ( ac_cv_tanh_preserves_zero_sign , [
4366- AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
4367- #include <math.h>
4368- #include <stdlib.h>
4369- int main() {
4370- /* return 0 if either negative zeros don't exist
4371- on this platform or if negative zeros exist
4372- and tanh(-0.) == -0. */
4373- if (atan2(0., -1.) == atan2(-0., -1.) ||
4374- atan2(tanh(-0.), -1.) == atan2(-0., -1.)) exit(0);
4375- else exit(1);
4376- }
4377- ] ] ) ] ,
4378- [ ac_cv_tanh_preserves_zero_sign=yes] ,
4379- [ ac_cv_tanh_preserves_zero_sign=no] ,
4380- [ ac_cv_tanh_preserves_zero_sign=no] ) ] )
4381- AC_MSG_RESULT ( $ac_cv_tanh_preserves_zero_sign )
4382- if test "$ac_cv_tanh_preserves_zero_sign" = yes
4383- then
4384- AC_DEFINE ( TANH_PRESERVES_ZERO_SIGN , 1 ,
4385- [ Define if tanh(-0.) is -0., or if platform doesn't have signed zeros] )
4386- fi
4387- LIBS=$LIBS_SAVE
4388-
43894362# For multiprocessing module, check that sem_open
43904363# actually works. For FreeBSD versions <= 7.2,
43914364# the kernel module that provides POSIX semaphores
0 commit comments