Karim BELABAS on Thu, 24 Sep 1998 19:36:24 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: nfields test |
[Ilya] >[me] >> >>[Ilya] >>> Looking into pari-2.0.11.beta\src\test\32\nfields I can see >>> >>> ? p2=x^5+3021*x^4-786303*x^3-6826636057*x^2-546603588746*x+385389051407205 >>> 7 >>> x^5 + 3021*x^4 - 786303*x^3 - 6826636057*x^2 - 546603588746*x + 385389 >>> 0514072057 >>> >>> Note extra 7s at the start and the end. ?!!! >> >> It's not junk. In test mode (gp -test, mentionned in the man since 2.0.10 >> (I think)) all lines are wrapped at 74 chars. This makes the output of diff >> human readable (without ediff). And has the added benefit of by-passing a >> bug a many versions of sed (don't accept lines longer than 4096 chars. 4 or >> 5 lines had this property in the old bench). > > What has this do with two extra 7s? Where do you see 2 extra 7s? In the input file (src/test/in/nfields), I have p2=x^5+3021*x^4-786303*x^3-6826636057*x^2-546603588746*x+3853890514072057 hence the input ? p2=x^5+3021*x^4-786303*x^3-6826636057*x^2-546603588746*x+385389051407205 7 \\ 75th char wrapped is correct. Or am I missing something? On the other hand, now I see something "wrong": the next line has been wrapped 4 characters too soon. This is due to the fact that "% = " (length 4) used to be input in front of the result... and has been removed in this last version (2.0.11, Changed 8). It's corrected in 2.0.12 (I don't think anybody needs a patch for this?). Karim. -- Karim Belabas email: Karim.Belabas@math.u-psud.fr Dep. de Mathematiques, Bat. 425 Universite Paris-Sud Tel: (00 33) 1 69 15 57 48 F-91405 Orsay (France) Fax: (00 33) 1 69 15 60 19 -- PARI/GP Home Page: http://pari.home.ml.org