The determinant of a binary quadratic form
is defined as
It is equal to 1/4 of the corresponding binary quadratic form discriminant.
Unfortunately, some authors define the determinant of a binary quadratic form as the negative of above, so care is needed when consulting the literature.