code: def modf(arg, queue=None):
      """Return a tuple ``(fracpart, intpart)`` of arrays containing the
      integer and fractional parts of ``arg``.
      """
      intpart = arg._new_like_me(queue=queue)
      fracpart = arg._new_like_me(queue=queue)
      event1 = _modf(intpart, fracpart, arg, queue=queue)
      fracpart.add_event(event1)
      intpart.add_event(event1)
      return fracpart, intpart
  
imports: import pyopencl.array
  import pyopencl.elementwise
  from pyopencl.array import _get_common_dtype
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: modf(arg, queue) and returns: fracpart,  intpart