You could just do R =
K.embeddings(RealField(1000))[0](K.units()[0]).log().abs(), for instance.
On Sunday, December 26, 2021 at 9:21:18 PM UTC+1 Michael Beeson wrote:
> I want to compute the regulator of a real quadratic field Q(sqrt d) to
> high precision,
> accurately enough to compute the
See also
- Ask Sage question 60455: compute regulator with more precision
https://ask.sagemath.org/question/60455
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
The "regulator" access routine should indeed at least allow to produce the
regulator with the precision that pari used.
If you look at the source of "regulator" you can see how to get the
regulator to better precision. If K is your number field, then:
K.pari_bnf().bnf_get_reg().sage()
gets you