docstr: tests if the frexp function works
docstr_tok: ["tests","if","the","frexp","function","works"]
code: def test_frexp(self):
      """tests if the frexp function works"""
      for s in sizes:
          a = gpuarray.arange(s, dtype=np.float32) / 10
          significands, exponents = cumath.frexp(a)
  
          a = a.get()
          significands = significands.get()
          exponents = exponents.get()
  
          for i in range(s):
              sig_true, ex_true = math.frexp(a[i])
  
              assert sig_true == significands[i]
              assert ex_true == exponents[i]
  
file_path: pycuda/test/test_cumath.py
imports: import math
  import numpy
  from pycuda.tools import mark_cuda_test
  import pycuda.gpuarray
  import pycuda.driver
  import pycuda.cumath
label_desc: Use image node_id 4 for calling the TestMath obj's underlying member method code with example usage: obj.test_frexp() without return types