Yes.
The block following
if (discriminant < 0.0)
could be expanded to do this.
You have reached the end of the chapter.