<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def CallUDFUNS(f, x):
 """ We are given a UDF CFUNCTYPE and want to call it in python :param f: SpiceUDFUNS :type f: CFUNCTYPE :param x: some scalar :type x: float :return: value :rtype: float """

    value = c_double()
    f(x, byref(value))
    return value.value