def _unary_int_input_wrapper_impl(wrapped_impl):
 def implementer(context, builder, sig, args):
  (val,) = args
  input_type = sig.args[0]
  fpval = context.cast(builder, val, input_type, types.float64)
  inner_sig = signature(types.float64, types.float64)
  res = wrapped_impl(context, builder, inner_sig, (fpval,))
  return context.cast(builder, res, types.float64, sig.return_type)
 return implementer

def _unary_int_input_wrapper_impl ( wrapped_impl ) : def implementer ( context , builder , sig , args ) : ( val , ) = args input_type = sig . args [ 0 ] fpval = context . cast ( builder , val , input_type , types . float64 ) inner_sig = signature ( types . float64 , types . float64 ) res = wrapped_impl ( context , builder , inner_sig , ( fpval , ) ) return context . cast ( builder , res , types . float64 , sig . return_type ) return implementer
return an implementation factory to convert the single integral input argument to a float64 .