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 <email@example.com>
Reviewed-by: Jim Van Verth <firstname.lastname@example.org>
3 files changed