When dealing with quadratic fields, the case D>0 tends to be elusive due to the behaviour of the fundamental unit. Thus, it is common to treat the cases D<0 and D>0 separately. Much more is known for the negative discriminant case:
