Gareth Ma on Thu, 21 Dec 2023 08:02:48 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Precision too low in bnfisprincipal
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: Precision too low in bnfisprincipal
- From: Gareth Ma <grhkm21@gmail.com>
- Date: Thu, 21 Dec 2023 07:02:45 +0000
- Delivery-date: Thu, 21 Dec 2023 08:02:49 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703142166; x=1703746966; darn=pari.math.u-bordeaux.fr; h=in-reply-to:references:to:from:content-language:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=8K5JKre7o8RRC2l+T9lU+ISZQotu3Pbr/phZYfIv8uw=; b=b5zKdK4dXgCJWd6JaQRNo2HevlHpeacVsi+IY3UURhXucDfvyogK0yAMvgQBTfAvCg Fx+3J+WLBtAz89PcsBkSYXIQopJY4t0QVT1VZu/ka05dVaYhIWHSYyrogP0WmZ1P0cqQ FrHzRK0hikcxkWUdvWzyIca5j9BmJ7KCKK9XsGQggD6fAbzFTqdf15E72unEO1sY3JkG XjyYpMP/No17BnFcS95l0G21EMEboDdqDEC+qY4lUEGw9i9bjjRQbSWCpXEFb0svNaYg ZB+1Ethg01qXAVY8K7i+mrYFeVZO9NgG6ETBxSjDwYqVrG9bsqxf1Ol5xZA3kYf6HZBI Aj4g==
- In-reply-to: <876001f1-a74b-43f0-83bf-7184209ec44c@gmail.com>
- References: <876001f1-a74b-43f0-83bf-7184209ec44c@gmail.com>
- User-agent: Mozilla Thunderbird
Sorry, I accidentally hit sent. Here is the code and output
again:
? \p
20000
? bnf = bnfinit(x^2 + 199, flag=1);
? bnfisprincipal(bnf, bnf.gen[1] ^ 9)
*** bnfisprincipal: Warning: precision too low for generators,
not given.
%10 = [[1]~, []~]
I can reproduce this on the browser version
too. I am not sure what is happening or how to fix it. Should I
raise the precision even higher? Is this intended?
Best regards,
Gareth
On 21/12/2023 06:58, Gareth Ma wrote:
Hi all.
I am trying to use `bnfisprincipal`, but it is somehow failing
even for very small inputs. Here is an example:
default(realprecision, 2000);
bnf = bnfinit(x^2 + 199, flag=1)bnfisprincipal(bnf, bnf.gen[1] ^
9)
*** bnfisprincipal: Warning: precision too low for generators,
not given.
%7 = [[1]~, []~]