1.0427218783685369524L, CHOOSE(2e-17L, 0, 0));
1.0427218783685369524L, CHOOSE(2e-17L, 2.5e-16, 1.2e-7));
clog_test (void){  __complex__ MATHTYPE result;  result = FUNC(clog) (BUILD_COMPLEX (minus_zero, 0));  check_isinfn_exc ("real(clog(-0 + i0)) = -Inf plus divide-by-zero exception",		    __real__ result, DIVIDE_BY_ZERO_EXCEPTION);  check ("imag(clog(-0 + i0)) = pi plus divide-by-zero exception",	 __imag__ result, M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (minus_zero, minus_zero));  check_isinfn_exc ("real(clog(-0 - i0)) = -Inf plus divide-by-zero exception",		    __real__ result, DIVIDE_BY_ZERO_EXCEPTION);  check ("imag(clog(-0 - i0)) = -pi plus divide-by-zero exception",	 __imag__ result, -M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (0, 0));  check_isinfn_exc ("real(clog(0 + i0)) = -Inf plus divide-by-zero exception",		    __real__ result, DIVIDE_BY_ZERO_EXCEPTION);  check ("imag(clog(0 + i0)) = 0 plus divide-by-zero exception",	 __imag__ result, 0);  result = FUNC(clog) (BUILD_COMPLEX (0, minus_zero));  check_isinfn_exc ("real(clog(0 - i0)) = -Inf plus divide-by-zero exception",		    __real__ result, DIVIDE_BY_ZERO_EXCEPTION);  check ("imag(clog(0 - i0)) = -0 plus divide-by-zero exception",	 __imag__ result, minus_zero);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, plus_infty));  check_isinfp ("real(clog(-Inf + i Inf)) = +Inf", __real__ result);  check ("imag(clog(-Inf + i Inf)) = 3*pi/4", __imag__ result,	 M_PIl - M_PI_4l);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, minus_infty));  check_isinfp ("real(clog(-Inf - i Inf)) = +Inf", __real__ result);  check ("imag(clog(-Inf - i Inf)) = -3*pi/4", __imag__ result,	 M_PI_4l - M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, plus_infty));  check_isinfp ("real(clog(+Inf + i Inf)) = +Inf", __real__ result);  check ("imag(clog(+Inf + i Inf)) = pi/4", __imag__ result, M_PI_4l);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, minus_infty));  check_isinfp ("real(clog(+Inf - i Inf)) = +Inf", __real__ result);  check ("imag(clog(+Inf - i Inf)) = -pi/4", __imag__ result, -M_PI_4l);  result = FUNC(clog) (BUILD_COMPLEX (0, plus_infty));  check_isinfp ("real(clog(0 + i Inf)) = +Inf", __real__ result);  check ("imag(clog(0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (3, plus_infty));  check_isinfp ("real(clog(3 + i Inf)) = +Inf", __real__ result);  check ("imag(clog(3 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (minus_zero, plus_infty));  check_isinfp ("real(clog(-0 + i Inf)) = +Inf", __real__ result);  check ("imag(clog(-0 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (-3, plus_infty));  check_isinfp ("real(clog(-3 + i Inf)) = +Inf", __real__ result);  check ("imag(clog(-3 + i Inf)) = pi/2", __imag__ result, M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (0, minus_infty));  check_isinfp ("real(clog(0 - i Inf)) = +Inf", __real__ result);  check ("imag(clog(0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (3, minus_infty));  check_isinfp ("real(clog(3 - i Inf)) = +Inf", __real__ result);  check ("imag(clog(3 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (minus_zero, minus_infty));  check_isinfp ("real(clog(-0 - i Inf)) = +Inf", __real__ result);  check ("imag(clog(-0 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (-3, minus_infty));  check_isinfp ("real(clog(-3 - i Inf)) = +Inf", __real__ result);  check ("imag(clog(-3 - i Inf)) = -pi/2", __imag__ result, -M_PI_2l);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, 0));  check_isinfp ("real(clog(-Inf + i0)) = +Inf", __real__ result);  check ("imag(clog(-Inf + i0)) = pi", __imag__ result, M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, 1));  check_isinfp ("real(clog(-Inf + i1)) = +Inf", __real__ result);  check ("imag(clog(-Inf + i1)) = pi", __imag__ result, M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, minus_zero));  check_isinfp ("real(clog(-Inf - i0)) = +Inf", __real__ result);  check ("imag(clog(-Inf - i0)) = -pi", __imag__ result, -M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, -1));  check_isinfp ("real(clog(-Inf - i1)) = +Inf", __real__ result);  check ("imag(clog(-Inf - i1)) = -pi", __imag__ result, -M_PIl);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, 0));  check_isinfp ("real(clog(+Inf + i0)) = +Inf", __real__ result);  check ("imag(clog(+Inf + i0)) = 0", __imag__ result, 0);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, 1));  check_isinfp ("real(clog(+Inf + i1)) = +Inf", __real__ result);  check ("imag(clog(+Inf + i1)) = 0", __imag__ result, 0);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, minus_zero));  check_isinfp ("real(clog(+Inf - i0)) = +Inf", __real__ result);  check ("imag(clog(+Inf - i0)) = -0", __imag__ result, minus_zero);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, -1));  check_isinfp ("real(clog(+Inf - i1)) = +Inf", __real__ result);  check ("imag(clog(+Inf - i1)) = -0", __imag__ result, minus_zero);  result = FUNC(clog) (BUILD_COMPLEX (plus_infty, nan_value));  check_isinfp ("real(clog(+Inf + i NaN)) = +Inf", __real__ result);  check_isnan ("imag(clog(+Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (minus_infty, nan_value));  check_isinfp ("real(clog(-Inf + i NaN)) = +Inf", __real__ result);  check_isnan ("imag(clog(-Inf + i NaN)) = NaN", __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, plus_infty));  check_isinfp ("real(clog(NaN + i Inf)) = +Inf", __real__ result);  check_isnan ("imag(clog(NaN + i Inf)) = NaN", __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, minus_infty));  check_isinfp ("real(clog(NaN - i Inf)) = +Inf", __real__ result);  check_isnan ("imag(clog(NaN - i Inf)) = NaN", __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (0, nan_value));  check_isnan_maybe_exc ("real(clog(0 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(0 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (3, nan_value));  check_isnan_maybe_exc ("real(clog(3 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(3 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (minus_zero, nan_value));  check_isnan_maybe_exc ("real(clog(-0 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(-0 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (-3, nan_value));  check_isnan_maybe_exc ("real(clog(-3 + i NaN)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(-3 + i NaN)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, 0));  check_isnan_maybe_exc ("real(clog(NaN + i0)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(NaN + i0)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, 5));  check_isnan_maybe_exc ("real(clog(NaN + i5)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(NaN + i5)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, minus_zero));  check_isnan_maybe_exc ("real(clog(NaN - i0)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(NaN - i0)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, -5));  check_isnan_maybe_exc ("real(clog(NaN - i5)) = NaN plus maybe invalid exception",			 __real__ result, INVALID_EXCEPTION);  check_isnan ("imag(clog(NaN - i5)) = NaN plus maybe invalid exception",	       __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (nan_value, nan_value));  check_isnan ("real(clog(NaN + i NaN)) = NaN", __real__ result);  check_isnan ("imag(clog(NaN + i NaN)) = NaN", __imag__ result);  result = FUNC(clog) (BUILD_COMPLEX (0.7, 1.2));  check_eps ("real(clog(0.7 + i 1.2)) == 0.32876...", __real__ result,	     0.3287600014583970919L, CHOOSE(5e-17L, 6e-17, 3e-8));  check_eps ("imag(clog(0.7 + i 1.2)) == 1.04272...", __imag__ result,	     1.0427218783685369524L, CHOOSE(2e-17L, 0, 0));  result = FUNC(clog) (BUILD_COMPLEX (-2, -3));  check_eps ("real(clog(-2 - i 3)) == 1.28247...", __real__ result,	     1.2824746787307683680L, CHOOSE(3e-19L, 0, 0));  check_eps ("imag(clog(-2 - i 3)) == -2.15879...", __imag__ result,	     -2.1587989303424641704L, CHOOSE(2e-18L, 5e-16, 8e-7));}