let f_convert tfrom tto e =
    if Ctypes.sub_c_float tfrom tto then e else round tto e