code: def test_issue_5503():
      p = 0.5
      x = np.logspace(3, 14, 12)
      assert_allclose(binom.cdf(x, 2 * x, p), 0.5, atol=1e-2)
  
imports: import pytest
  import itertools
  from scipy.stats import betabinom, betanbinom, hypergeom, nhypergeom, bernoulli, boltzmann, skellam, zipf, zipfian, binom, nbinom, nchypergeom_fisher, nchypergeom_wallenius, randint
  import numpy
  from numpy.testing import assert_almost_equal, assert_equal, assert_allclose, suppress_warnings
  from scipy.special import binom
  from scipy.optimize import root_scalar
  from scipy.integrate import quad
label_desc: Use image node_id 18 for calling a global function with example usage: test_issue_5503() without return types