0.9544807059989405538L, CHOOSE(2e-17L, 2e-16, 0));
0.9544807059989405538L, CHOOSE(2e-17L, 2e-16, 6e-8));
ctan_test (void){  __complex__ MATHTYPE result;  result = FUNC(ctan) (BUILD_COMPLEX (0, 0));  check ("real(ctan(0 + i0)) = 0", __real__ result, 0);  check ("imag(ctan(0 + i0)) = 0", __imag__ result, 0);  result = FUNC(ctan) (BUILD_COMPLEX (0, minus_zero));  check ("real(ctan(0 - i0)) = 0", __real__ result, 0);  check ("imag(ctan(0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(ctan) (BUILD_COMPLEX (minus_zero, 0));  check ("real(ctan(-0 + i0)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-0 + i0)) = 0", __imag__ result, 0);  result = FUNC(ctan) (BUILD_COMPLEX (minus_zero, minus_zero));  check ("real(ctan(-0 - i0)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(ctan) (BUILD_COMPLEX (0, plus_infty));  check ("real(ctan(0 + i Inf)) = 0", __real__ result, 0);  check ("imag(ctan(0 + i Inf)) = 1", __imag__ result, 1);  result = FUNC(ctan) (BUILD_COMPLEX (1, plus_infty));  check ("real(ctan(1 + i Inf)) = 0", __real__ result, 0);  check ("imag(ctan(1 + i Inf)) = 1", __imag__ result, 1);  result = FUNC(ctan) (BUILD_COMPLEX (minus_zero, plus_infty));  check ("real(ctan(-0 + i Inf)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-0 + i Inf)) = 1", __imag__ result, 1);  result = FUNC(ctan) (BUILD_COMPLEX (-1, plus_infty));  check ("real(ctan(-1 + i Inf)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-1 + i Inf)) = 1", __imag__ result, 1);  result = FUNC(ctan) (BUILD_COMPLEX (0, minus_infty));  check ("real(ctan(0 - i Inf)) = 0", __real__ result, 0);  check ("imag(ctan(0 - i Inf)) = -1", __imag__ result, -1);  result = FUNC(ctan) (BUILD_COMPLEX (1, minus_infty));  check ("real(ctan(1 - i Inf)) = 0", __real__ result, 0);  check ("imag(ctan(1 - i Inf)) = -1", __imag__ result, -1);  result = FUNC(ctan) (BUILD_COMPLEX (minus_zero, minus_infty));  check ("real(ctan(-0 - i Inf)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-0 - i Inf)) = -1", __imag__ result, -1);  result = FUNC(ctan) (BUILD_COMPLEX (-1, minus_infty));  check ("real(ctan(-1 - i Inf)) = -0", __real__ result, minus_zero);  check ("imag(ctan(-1 - i Inf)) = -1", __imag__ result, -1);  result = FUNC(ctan) (BUILD_COMPLEX (plus_infty, 0));  check_isnan_exc ("real(ctan(Inf + i 0)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(Inf + i 0)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (plus_infty, 2));  check_isnan_exc ("real(ctan(Inf + i 2)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(Inf + i 2)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (minus_infty, 0));  check_isnan_exc ("real(ctan(-Inf + i 0)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(-Inf + i 0)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (minus_infty, 2));  check_isnan_exc ("real(ctan(- Inf + i 2)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(- Inf + i 2)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (plus_infty, minus_zero));  check_isnan_exc ("real(ctan(Inf - i 0)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(Inf - i 0)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (plus_infty, -2));  check_isnan_exc ("real(ctan(Inf - i 2)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(Inf - i 2)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (minus_infty, minus_zero));  check_isnan_exc ("real(ctan(-Inf - i 0)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(-Inf - i 0)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (minus_infty, -2));  check_isnan_exc ("real(ctan(-Inf - i 2)) = NaN plus invalid exception",		   __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(-Inf - i 2)) = NaN plus invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, plus_infty));  check ("real(ctan(NaN + i Inf)) = +-0", FUNC(fabs) (__real__ result), 0);  check ("imag(ctan(NaN + i Inf)) = 1", __imag__ result, 1);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, minus_infty));  check ("real(ctan(NaN - i Inf)) = +-0", FUNC(fabs) (__real__ result), 0);  check ("imag(ctan(NaN - i Inf)) = -1", __imag__ result, -1);  result = FUNC(ctan) (BUILD_COMPLEX (0, nan_value));  check ("real(ctan(0 + i NaN)) = 0", __real__ result, 0);  check_isnan ("imag(ctan(0 + i NaN)) = NaN", __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (minus_zero, nan_value));  check ("real(ctan(-0 + i NaN)) = -0", __real__ result, minus_zero);  check_isnan ("imag(ctan(-0 + i NaN)) = NaN", __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (0.5, nan_value));  check_isnan_maybe_exc ("real(ctan(0.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(0.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (-4.5, nan_value));  check_isnan_maybe_exc ("real(ctan(-4.5 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(-4.5 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, 0));  check_isnan_maybe_exc ("real(ctan(NaN + i 0)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(NaN + i 0)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, 5));  check_isnan_maybe_exc ("real(ctan(NaN + i 5)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(NaN + i 5)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, minus_zero));  check_isnan_maybe_exc ("real(ctan(NaN - i 0)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(NaN - i 0)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, -0.25));  check_isnan_maybe_exc ("real(ctan(NaN -i 0.25)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(ctan(NaN -i 0.25)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (nan_value, nan_value));  check_isnan ("real(ctan(NaN + i NaN)) = NaN", __real__ result);  check_isnan ("imag(ctan(NaN + i NaN)) = NaN", __imag__ result);  result = FUNC(ctan) (BUILD_COMPLEX (0.7, 1.2));  check_eps ("real(ctan(0.7 + i 1.2)) == 0.17207...", __real__ result,	     0.1720734197630349001L, CHOOSE(1e-17L, 3e-17, 2e-8));  check_eps ("imag(ctan(0.7 + i 1.2)) == 0.95448...", __imag__ result,	     0.9544807059989405538L, CHOOSE(2e-17L, 2e-16, 0));  result = FUNC(ctan) (BUILD_COMPLEX (-2, -3));  check_eps ("real(ctan(-2 - i 3)) == -0.00376...", __real__ result,	     0.0037640256415042482L, CHOOSE(1e-19L, 0, 0));  check_eps ("imag(ctan(-2 - i 3)) == -1.00323...", __imag__ result,	     -1.0032386273536098014L, CHOOSE(2e-19L, 0, 2e-7));}