also check for discriminant

not all implementations handle sqrt(<0.0) cracefully ..