-1.3389725222944935611L, CHOOSE (7e-19L, 0, 0));
-1.3389725222944935611L, CHOOSE (7e-19L, 0, 5e-7));
catanh_test (void){  __complex__ MATHTYPE result;  result = FUNC(catanh) (BUILD_COMPLEX (0, 0));  check ("real(catanh(0 + i0)) = 0", __real__ result, 0);  check ("imag(catanh(0 + i0)) = 0", __imag__ result, 0);  result = FUNC(catanh) (BUILD_COMPLEX (minus_zero, 0));  check ("real(catanh(-0 + i0)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-0 + i0)) = 0", __imag__ result, 0);  result = FUNC(catanh) (BUILD_COMPLEX (0, minus_zero));  check ("real(catanh(0 - i0)) = 0", __real__ result, 0);  check ("imag(catanh(0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catanh) (BUILD_COMPLEX (minus_zero, minus_zero));  check ("real(catanh(-0 - i0)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, plus_infty));  check ("real(catanh(+Inf + i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, minus_infty));  check ("real(catanh(+Inf - i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, plus_infty));  check ("real(catanh(-Inf + i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, minus_infty));  check ("real(catanh(-Inf - i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (-10.0, plus_infty));  check ("real(catanh(-10.0 + i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-10.0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (-10.0, minus_infty));  check ("real(catanh(-10.0 - i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-10.0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_zero, plus_infty));  check ("real(catanh(-0 + i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_zero, minus_infty));  check ("real(catanh(-0 - i Inf)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (0, plus_infty));  check ("real(catanh(0 + i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (0, minus_infty));  check ("real(catanh(0 - i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (0.1, plus_infty));  check ("real(catanh(0.1 + i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(0.1 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (0.1, minus_infty));  check ("real(catanh(0.1 - i Inf)) = 0", __real__ result, 0);  check ("imag(catanh(0.1 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, 0));  check ("real(catanh(-Inf + i0)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf + i0)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, minus_zero));  check ("real(catanh(-Inf - i0)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf - i0)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, 100));  check ("real(catanh(-Inf + i100)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf + i100)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, -100));  check ("real(catanh(-Inf - i100)) = -0", __real__ result, minus_zero);  check ("imag(catanh(-Inf - i100)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, 0));  check ("real(catanh(+Inf + i0)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf + i0)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, minus_zero));  check ("real(catanh(+Inf - i0)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf - i0)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, 0.5));  check ("real(catanh(+Inf + i0.5)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf + i0.5)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, -0.5));  check ("real(catanh(+Inf - i0.5)) = 0", __real__ result, 0);  check ("imag(catanh(+Inf - i0.5)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (0, nan_value));  check ("real(catanh(0 + i NaN)) = 0", __real__ result, 0);  check_isnan ("imag(catanh(0 + i NaN)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (minus_zero, nan_value));  check ("real(catanh(-0 + i NaN)) = -0", __real__ result, minus_zero);  check_isnan ("imag(catanh(-0 + i NaN)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (plus_infty, nan_value));  check ("real(catanh(+Inf + i NaN)) = 0", __real__ result, 0);  check_isnan ("imag(catanh(+Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (minus_infty, nan_value));  check ("real(catanh(-Inf + i NaN)) = -0", __real__ result, minus_zero);  check_isnan ("imag(catanh(-Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, 0));  check_isnan ("real(catanh(NaN + i0)) = NaN", __real__ result);  check_isnan ("imag(catanh(NaN + i0)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, minus_zero));  check_isnan ("real(catanh(NaN - i0)) = NaN", __real__ result);  check_isnan ("imag(catanh(NaN - i0)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, plus_infty));  check ("real(catanh(NaN + i Inf)) = +-0", FUNC(fabs) (__real__ result), 0);  check ("imag(catanh(NaN + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, minus_infty));  check ("real(catanh(NaN - i Inf)) = +-0", FUNC(fabs) (__real__ result), 0);  check ("imag(catanh(NaN - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(catanh) (BUILD_COMPLEX (10.5, nan_value));  check_isnan_maybe_exc ("real(catanh(10.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catanh(10.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (-10.5, nan_value));  check_isnan_maybe_exc ("real(catanh(-10.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catanh(-10.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, 0.75));  check_isnan_maybe_exc ("real(catanh(NaN + i0.75)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catanh(NaN + i0.75)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, -0.75));  check_isnan_maybe_exc ("real(catanh(NaN - i0.75)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catanh(NaN - i0.75)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (nan_value, nan_value));  check_isnan ("real(catanh(NaN + i NaN)) = NaN", __real__ result);  check_isnan ("imag(catanh(NaN + i NaN)) = NaN", __imag__ result);  result = FUNC(catanh) (BUILD_COMPLEX (0.7, 1.2));  check_eps ("real(catanh(0.7 + i 1.2)) == 0.26007...", __real__ result,	     0.2600749516525135959L, CHOOSE (2e-18, 6e-17, 0));  check_eps ("imag(catanh(0.7 + i 1.2)) == 0.97024...", __imag__ result,	     0.9702403077950989849L, CHOOSE (3e-17, 0, 0));  result = FUNC(catanh) (BUILD_COMPLEX (-2, -3));  check_eps ("real(catanh(-2 - i 3)) == -0.14694...", __real__ result,	     -0.1469466662255297520L, CHOOSE (9e-20L, 6e-17, 2e-8));  check_eps ("imag(catanh(-2 - i 3)) == -1.33897...", __imag__ result,	     -1.3389725222944935611L, CHOOSE (7e-19L, 0, 0));}