1.0785743834118921877L, CHOOSE (3e-17, 0, 0));
1.0785743834118921877L, CHOOSE (3e-17, 0, 5e-7));
catan_test (void){  __complex__ MATHTYPE result;  result = FUNC(catan) (BUILD_COMPLEX (0, 0));  check ("real(catan(0 + i0)) = 0", __real__ result, 0);  check ("imag(catan(0 + i0)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (minus_zero, 0));  check ("real(catan(-0 + i0)) = -0", __real__ result, minus_zero);  check ("imag(catan(-0 + i0)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (0, minus_zero));  check ("real(catan(0 - i0)) = 0", __real__ result, 0);  check ("imag(catan(0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (minus_zero, minus_zero));  check ("real(catan(-0 - i0)) = -0", __real__ result, minus_zero);  check ("imag(catan(-0 - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, plus_infty));  check ("real(catan(+Inf + i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(+Inf + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, minus_infty));  check ("real(catan(+Inf - i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(+Inf - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, plus_infty));  check ("real(catan(-Inf + i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf + i Inf)) = 0", __imag__ result, 0.0);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, minus_infty));  check ("real(catan(-Inf - i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, -10.0));  check ("real(catan(+Inf - i10.0)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(+Inf - i10.0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, -10.0));  check ("real(catan(-Inf - i10.0)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf - i10.0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, minus_zero));  check ("real(catan(Inf - i0)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(Inf - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, minus_zero));  check ("real(catan(-Inf - i0)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, 0.0));  check ("real(catan(Inf + i0)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(Inf + i0)) = 0", __imag__ result, 0.0);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, 0.0));  check ("real(catan(-Inf + i0)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf + i0)) = 0", __imag__ result, 0.0);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, 0.1));  check ("real(catan(+Inf + i0.1)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(+Inf + i0.1)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, 0.1));  check ("real(catan(-Inf + i0.1)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf + i0.1)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (0.0, minus_infty));  check ("real(catan(0 - i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(0 - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (minus_zero, minus_infty));  check ("real(catan(-0 - i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-0 - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (100.0, minus_infty));  check ("real(catan(100 - i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(100 - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (-100.0, minus_infty));  check ("real(catan(-100 - i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-100 - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (0.0, plus_infty));  check ("real(catan(0 + i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(0 + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (minus_zero, plus_infty));  check ("real(catan(-0 + i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-0 + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (0.5, plus_infty));  check ("real(catan(0.5 + i Inf)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(0.5 + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (-0.5, plus_infty));  check ("real(catan(-0.5 + i Inf)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-0.5 + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, 0.0));  check_isnan ("real(catan(NaN + i0)) = NaN", __real__ result);  check ("imag(catan(NaN + i0)) = 0", __imag__ result, 0.0);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, minus_zero));  check_isnan ("real(catan(NaN - i0)) = NaN", __real__ result);  check ("imag(catan(NaN - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, plus_infty));  check_isnan ("real(catan(NaN + i Inf)) = NaN", __real__ result);  check ("imag(catan(NaN + i Inf)) = 0", __imag__ result, 0);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, minus_infty));  check_isnan ("real(catan(NaN - i Inf)) = NaN", __real__ result);  check ("imag(catan(NaN - i Inf)) = -0", __imag__ result, minus_zero);  result = FUNC(catan) (BUILD_COMPLEX (0.0, nan_value));  check_isnan ("real(catan(0 + i NaN)) = NaN", __real__ result);  check_isnan ("imag(catan(0 + i NaN)) = NaN", __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (minus_zero, nan_value));  check_isnan ("real(catan(-0 + i NaN)) = NaN", __real__ result);  check_isnan ("imag(catan(-0 + i NaN)) = NaN", __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (plus_infty, nan_value));  check ("real(catan(+Inf + i NaN)) = pi/2", __real__ result, M_PI_2l);  check ("imag(catan(+Inf + i NaN)) = +-0", FUNC(fabs) (__imag__ result), 0);  result = FUNC(catan) (BUILD_COMPLEX (minus_infty, nan_value));  check ("real(catan(-Inf + i NaN)) = -pi/2", __real__ result, -M_PI_2l);  check ("imag(catan(-Inf + i NaN)) = +-0", FUNC(fabs) (__imag__ result), 0);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, 10.5));  check_isnan_maybe_exc ("real(catan(NaN + i10.5)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catan(NaN + i10.5)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, -10.5));  check_isnan_maybe_exc ("real(catan(NaN - i10.5)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catan(NaN - i10.5)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (0.75, nan_value));  check_isnan_maybe_exc ("real(catan(0.75 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catan(0.75 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (-0.75, nan_value));  check_isnan_maybe_exc ("real(catan(-0.75 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(catan(-0.75 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (nan_value, nan_value));  check_isnan ("real(catan(NaN + i NaN)) = NaN", __real__ result);  check_isnan ("imag(catan(NaN + i NaN)) = NaN", __imag__ result);  result = FUNC(catan) (BUILD_COMPLEX (0.7, 1.2));  check_eps ("real(catan(0.7 + i 1.2)) == 1.07857...", __real__ result,	     1.0785743834118921877L, CHOOSE (3e-17, 0, 0));  check_eps ("imag(catan(0.7 + i 1.2)) == 0.57705...", __imag__ result,	     0.5770573776534306764L, CHOOSE(3e-17L, 0, 6e-8));  result = FUNC(catan) (BUILD_COMPLEX (-2, -3));  check ("real(catan(-2 - i 3)) == -1.40992...", __real__ result,	 -1.4099210495965755225L);  check_eps ("imag(catan(-2 - i 3)) == -0.22907...", __imag__ result,	     -0.2290726829685387662L, CHOOSE(1.1e-19L, 3e-17, 2e-8));}