diff --git a/test/test_array.py b/test/test_array.py
index 9627b95f282a0bcfc19ab13635c7cff81b574435..b01fba48888ed39a4ad7c08a6d3aca7003d69647 100644
--- a/test/test_array.py
+++ b/test/test_array.py
@@ -215,7 +215,7 @@ def test_divide_scalar(ctx_getter):
     assert (a/2 == result).all()
 
     result = (2/a_gpu).get()
-    assert (2/a == result).all()
+    assert (np.abs(2/a - result) < 1e-5).all()
 
 
 
diff --git a/test/test_clmath.py b/test/test_clmath.py
index 8e4a60f5b33a83e7156e9ecc7fb5f2e53edfcd82..bdeb2d8d523255752f4b2d70fd86af8c4f4950de 100644
--- a/test/test_clmath.py
+++ b/test/test_clmath.py
@@ -78,8 +78,8 @@ if have_cl():
     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)
-    test_cos = make_unary_function_test("cos", (-10, 10), 1e-7)
+    test_sin = make_unary_function_test("sin", (-10, 10), 2e-7)
+    test_cos = make_unary_function_test("cos", (-10, 10), 2e-7)
     test_asin = make_unary_function_test("asin", (-0.9, 0.9), 5e-7)
     test_acos = make_unary_function_test("acos", (-0.9, 0.9), 5e-7)
     test_tan = make_unary_function_test("tan",