def METHOD_NAME(dtype):
    q = get_queue_or_skip()
    skip_if_dtype_not_supported(dtype, q)
    n_seq = 2 * 1027
    X = dpt.linspace(1, 13, num=n_seq, dtype=dtype, sycl_queue=q)[::-2]
    Xnp = dpt.asnumpy(X)
    Y = dpt.log10(X)
    tol = 8 * dpt.finfo(Y.dtype).resolution
    np.testing.assert_allclose(
        dpt.asnumpy(Y), np.log10(Xnp), atol=tol, rtol=tol
    )