1.0927647857577371459L, CHOOSE(4e-17L, 3e-16, 0));
1.0927647857577371459L, CHOOSE(4e-17L, 3e-16, 2e-7));
cacosh_test (void){  __complex__ MATHTYPE result;  result = FUNC(cacosh) (BUILD_COMPLEX (0, 0));  check ("real(cacosh(0 + i0)) = 0", __real__ result, 0);  check ("imag(cacosh(0 + i0)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_zero, 0));  check ("real(cacosh(-0 + i0)) = 0", __real__ result, 0);  check ("imag(cacosh(-0 + i0)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (0, minus_zero));  check ("real(cacosh(0 - i0)) = 0", __real__ result, 0);  check ("imag(cacosh(0 - i0)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_zero, minus_zero));  check ("real(cacosh(-0 - i0)) = 0", __real__ result, 0);  check ("imag(cacosh(-0 - i0)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, plus_infty));  check_isinfp ("real(cacosh(-Inf + i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf + i Inf)) = 3*pi/4", __imag__ result,	 M_PIl - M_PI_4l);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, minus_infty));  check_isinfp ("real(cacosh(-Inf - i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf - i Inf)) = -3*pi/4", __imag__ result,	 M_PI_4l - M_PIl);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, plus_infty));  check_isinfp ("real(cacosh(+Inf + i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf + i Inf)) = pi/4", __imag__ result, M_PI_4l);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, minus_infty));  check_isinfp ("real(cacosh(+Inf - i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf - i Inf)) = -pi/4", __imag__ result, -M_PI_4l);  result = FUNC(cacosh) (BUILD_COMPLEX (-10.0, plus_infty));  check_isinfp ("real(cacosh(-10.0 + i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(-10.0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (-10.0, minus_infty));  check_isinfp ("real(cacosh(-10.0 - i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(-10.0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (0, plus_infty));  check_isinfp ("real(cacosh(0 + i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (0, minus_infty));  check_isinfp ("real(cacosh(0 - i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (0.1, plus_infty));  check_isinfp ("real(cacosh(0.1 + i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(0.1 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (0.1, minus_infty));  check_isinfp ("real(cacosh(0.1 - i Inf)) = +Inf", __real__ result);  check ("imag(cacosh(0.1 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, 0));  check_isinfp ("real(cacosh(-Inf + i0)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf + i0)) = pi", __imag__ result, M_PIl);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, minus_zero));  check_isinfp ("real(cacosh(-Inf - i0)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf - i0)) = -pi", __imag__ result, -M_PIl);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, 100));  check_isinfp ("real(cacosh(-Inf + i100)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf + i100)) = pi", __imag__ result, M_PIl);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, -100));  check_isinfp ("real(cacosh(-Inf - i100)) = +Inf", __real__ result);  check ("imag(cacosh(-Inf - i100)) = -pi", __imag__ result, -M_PIl);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, 0));  check_isinfp ("real(cacosh(+Inf + i0)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf + i0)) = 0", __imag__ result, 0);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, minus_zero));  check_isinfp ("real(cacosh(+Inf - i0)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, 0.5));  check_isinfp ("real(cacosh(+Inf + i0.5)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf + i0.5)) = 0", __imag__ result, 0);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, -0.5));  check_isinfp ("real(cacosh(+Inf - i0.5)) = +Inf", __real__ result);  check ("imag(cacosh(+Inf - i0.5)) = -0", __imag__ result, minus_zero);  result = FUNC(cacosh) (BUILD_COMPLEX (plus_infty, nan_value));  check_isinfp ("real(cacosh(+Inf + i NaN)) = +Inf", __real__ result);  check_isnan ("imag(cacosh(+Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_infty, nan_value));  check_isinfp ("real(cacosh(-Inf + i NaN)) = +Inf", __real__ result);  check_isnan ("imag(cacosh(-Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (0, nan_value));  check_isnan ("real(cacosh(0 + i NaN)) = NaN", __real__ result);  check_isnan ("imag(cacosh(0 + i NaN)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (minus_zero, nan_value));  check_isnan ("real(cacosh(-0 + i NaN)) = NaN", __real__ result);  check_isnan ("imag(cacosh(-0 + i NaN)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (nan_value, plus_infty));  check_isinfp ("real(cacosh(NaN + i Inf)) = +Inf", __real__ result);  check_isnan ("imag(cacosh(NaN + i Inf)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (nan_value, minus_infty));  check_isinfp ("real(cacosh(NaN - i Inf)) = +Inf", __real__ result);  check_isnan ("imag(cacosh(NaN - i Inf)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (10.5, nan_value));  check_isnan_maybe_exc ("real(cacosh(10.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(cacosh(10.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (-10.5, nan_value));  check_isnan_maybe_exc ("real(cacosh(-10.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(cacosh(-10.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (nan_value, 0.75));  check_isnan_maybe_exc ("real(cacosh(NaN + i0.75)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(cacosh(NaN + i0.75)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (-10.5, nan_value));  check_isnan_maybe_exc ("real(cacosh(NaN - i0.75)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(cacosh(NaN - i0.75)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (nan_value, nan_value));  check_isnan ("real(cacosh(NaN + i NaN)) = NaN", __real__ result);  check_isnan ("imag(cacosh(NaN + i NaN)) = NaN", __imag__ result);  result = FUNC(cacosh) (BUILD_COMPLEX (0.7, 1.2));  check_eps ("real(cacosh(0.7 + i 1.2)) == 1.09276...", __real__ result,	     1.0927647857577371459L, CHOOSE(4e-17L, 3e-16, 0));  check_eps ("imag(cacosh(0.7 + i 1.2)) == 1.13518...", __imag__ result,	 1.1351827477151551089L, CHOOSE(2e-17L, 0, 0));  result = FUNC(cacosh) (BUILD_COMPLEX (-2, -3));  check_eps ("real(cacosh(-2 - i 3)) == -1.98338...", __real__ result,	     -1.9833870299165354323L, CHOOSE (2e-18L, 3e-16, 9e-7));  check_eps ("imag(cacosh(-2 - i 3)) == 2.14144...", __imag__ result,	     2.1414491111159960199L, CHOOSE (3e-19, 5e-16, 1e-6));}