Calculate a very accurate discriminant
Calculate the discriminant in the ordinary manner. Check
for too much cancellation if B^2 and AC are too close.
If they are too close, then track the rounding error while
recalculating the discriminant, and add rounding error
back in. Tests included.
Commit-Queue: Herb Derby <firstname.lastname@example.org>
Reviewed-by: Jim Van Verth <email@example.com>
3 files changed