diff --git a/test/test_math.py b/test/test_math.py
index c7aabf4687d6d3997d5a37a3c5d4a249143fed1d..58b6a09bb958f9823a7e75b45198490e1ea7bcaf 100644
--- a/test/test_math.py
+++ b/test/test_math.py
@@ -78,8 +78,8 @@ if have_cl():
     test_floor = make_unary_function_test("ceil", (-10, 10))
     test_fabs = make_unary_function_test("fabs", (-10, 10))
     test_exp = make_unary_function_test("exp", (-3, 3), 1e-5)
-    test_log = make_unary_function_test("log", (1e-5, 1), 5e-7)
-    test_log10 = make_unary_function_test("log10", (1e-5, 1), 3e-7)
+    test_log = make_unary_function_test("log", (1e-5, 1), 1e-6)
+    test_log10 = make_unary_function_test("log10", (1e-5, 1), 5e-7)
     test_sqrt = make_unary_function_test("sqrt", (1e-5, 1), 2e-7)
 
     test_sin = make_unary_function_test("sin", (-10, 10), 1e-7)