Sam Steingold on Fri, 01 Dec 2017 20:54:15 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: issquare on quadratic forms |
> * Karim Belabas <Xnevz.Orynonf@zngu.h-obeqrnhk.se> [2017-12-01 19:25:07 +0100]: > > * Bill Allombert [2017-12-01 19:03]: >> On Fri, Dec 01, 2017 at 12:40:14PM -0500, Sam Steingold wrote: >>> It appears that once upon a time issquare worked on t_QFR and t_QFI, but >>> now I get >>> *** incorrect type in issquare (t_QFI). >>> and >>> *** incorrect type in issquare (t_QFR). >>> What has happened? >> >> From CHANGES-2.4: >> >> 10- issquare(t_QFI or t_QFR) now is an error. Use explicitly >> issquare(component(x,1)) if you relied(?) on the old behaviour > > Note that > > ? Qfb(2, 1, 3)^2 > %1 = Qfb(2, -1, 3) > > whereas the old issquare code returned 0 in this case: it used to check > whether the 'a' coefficient was a rational square (which does not make > sense since all natural computations via '*' or '^' operators occur in > the class group). Indeed, I assumed that issquare(Qfb) did TRT while it was doing something relatively uninteresting. Thank you very much, Bill & Karim. -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://www.dhimmitude.org http://think-israel.org http://no2bds.org Democracy vs Despotism = Theft vs Robbery