check_eps ("cos (pi/3) == 0.5", FUNC(cos) (M_PI / 3.0),
check_eps ("cos (pi/3) == 0.5", FUNC(cos) (M_PI_6 * 2.0),
cos_test (void){  check ("cos (+0) == 1", FUNC(cos) (0), 1);  check ("cos (-0) == 1", FUNC(cos) (minus_zero), 1);  check_isnan_exc ("cos (+inf) == NaN plus invalid exception",		   FUNC(cos) (plus_infty),		   INVALID_EXCEPTION);  check_isnan_exc ("cos (-inf) == NaN plus invalid exception",		   FUNC(cos) (minus_infty),		   INVALID_EXCEPTION);  check_eps ("cos (pi/3) == 0.5", FUNC(cos) (M_PI / 3.0),	     0.5, CHOOSE (4e-18L, 1e-15L, 1e-7L));  check_eps ("cos (pi/2) == 0", FUNC(cos) (M_PI_2),	     0, CHOOSE (1e-19L, 1e-16L, 1e-7L));}