Finds the minimum of a unimodal function between from and to. Stops at minDelta or when floating-point precision prevents further bisection.