Replace REAL_VALUE_TO_TARGET_LONG_DOUBLE with real_to_target