PPT Slide
/* Calculate the roots */
darg = b * b - 4.0 * a * c;
root1 = ( (- b) + ds) / denom;
root2 = ( (- b) - ds) / denom;
System.out.println("root1 is " + root1);
System.out.println("root2 is " + root2);
Explicit casting to a larger type is not required.