code: def ldexp(significand, exponent, stream=None):
      """Return a new array of floating point values composed from the
      entries of `significand` and `exponent`, paired together as
      `result = significand * 2**exponent`.
      """
      if not significand.flags.forc or not exponent.flags.forc:
          raise RuntimeError(
              "only contiguous arrays may "
              "be used as arguments to this operation"
          )
  
      result = gpuarray.GPUArray(significand.shape, significand.dtype)
  
      func = elementwise.get_ldexp_kernel()
      func.prepared_async_call(
          significand._grid,
          significand._block,
          stream,
          significand.gpudata,
          exponent.gpudata,
          result.gpudata,
          significand.mem_size,
      )
  
      return result
  
file_path: pycuda/pycuda/cumath.py
imports: import pycuda.gpuarray
  import pycuda.elementwise
  import numpy
  import warnings
  from pycuda.driver import Stream
label_desc: Use image node_id 4 for calling a global function with example usage: ldexp(significand, exponent, stream) and returns: result