x = midpoint I
Returns the midpoint (the average of the endpoints) of the input interval.
The object midpoint is a compiled function.