Open yyyyx4 opened 1 year ago
Is this already taken care of here: #36184? @yyyyx4
No: The check there follows the recommendation in the PARI documentation for when to use quadclassunit()
instead of qfbclassno()
, but for the latter there still is a warning that the results could be incorrect even in a nonempty part of the range where the documentation recommends it should be used. In contrast, for quadclassunit()
the PARI documentation promises that the results are correct assuming GRH.
Since #23986, Sage calls PARI's
qfbclassno()
to compute the class number of a quadratic order. However, the documentation for that PARI function says:Thus, Sage should probably default to
quadclassunit()
and only useqfbclassno()
ifproof=False
is set.CC: @tscholl2 @roed314
Component: number fields
Issue created by migration from https://trac.sagemath.org/ticket/34801