"Fossies" - the Fresh Open Source Software Archive

Member "pari-2.13.1/src/test/32/ser" (14 Jan 2021, 5470 Bytes) of package /linux/misc/pari-2.13.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ser": 2.13.0_vs_2.13.1.

    1 x + x^2 + O(x^5)
    2 x + x^2 - 1/3*x^3 - x^4 + O(x^5)
    3 O(x^5)
    4 [0.78539816339744830961566084581987572105 + O(x^16)]
    5 x + x^2 + 1/6*x^3 + 1/2*x^4 + O(x^5)
    6 O(x^5)
    7 [1.5707963267948966192313216916397514421 + O(x^8)]
    8 1.5707963267948966192313216916397514421 - x - x^2 - 1/6*x^3 - 1/2*x^4 + O(x^
    9 5)
   10 1.5707963267948966192313216916397514421 + O(x^5)
   11 [O(x^8)]
   12 1 + 1/2*x^2 + x^3 + 13/24*x^4 + O(x^5)
   13 1 + O(x^5)
   14 [1.5430806348152437784779056207570616826 + O(x^16)]
   15 x + x^2 + 1/6*x^3 + 1/2*x^4 + O(x^5)
   16 O(x^5)
   17 [1.1752011936438014568823818505956008152 + O(x^16)]
   18 x + x^2 - 1/3*x^3 - x^4 + O(x^5)
   19 O(x^5)
   20 [0.76159415595576488811945828260479359041 + O(x^16)]
   21 x^-1 - 1 + 4/3*x - 2/3*x^2 + O(x^3)
   22 O(x^5)
   23 [1.3130352854993313036361612469308478329 + O(x^16)]
   24 1.5707963267948966192313216916397514421*I - 1.000000000000000000000000000000
   25 0000000*I*x - 1.0000000000000000000000000000000000000*I*x^2 - 0.166666666666
   26 66666666666666666666666667*I*x^3 - 0.50000000000000000000000000000000000000*
   27 I*x^4 + O(x^5)
   28 1.5707963267948966192313216916397514421*I + O(x^5)
   29 [O(x^8)]
   30 x + x^2 - 1/6*x^3 - 1/2*x^4 + O(x^5)
   31 O(x^5)
   32 [0.88137358701954302523260932497979230903 + O(x^16)]
   33 x + x^2 + 1/3*x^3 + x^4 + O(x^5)
   34 O(x^5)
   35   ***   at top-level: ...rint(f[i](O(x^5)));print(f[i]([Pol(1)]));)
   36   ***                                             ^-----------------
   37   ***   in function f: atanh
   38   ***                  ^-----
   39   *** atanh: impossible inverse in div_ser: O(x^16).
   40 O(x^-2)
   41 O(x^-2)
   42 2 + O(x^2)
   43 1 + O(x^2)
   44 1
   45 O(x^0)
   46 2*x + O(x^2)
   47 2*x - 8/3*x^3 + 32/5*x^5 - 128/7*x^7 + 512/9*x^9 - 2048/11*x^11 + 8192/13*x^
   48 13 - 32768/15*x^15 + O(x^17)
   49 error("domain error in sqrtn: valuation != Mod(0, 2)")
   50 ((1 + O(y^4))*x + y^3)/(y^3*x)
   51 x + 2*x^2 + O(x^3)
   52 2*x^2 + O(x^3)
   53 O(x^100)
   54 Mod(1, 3)*x + O(x^2)
   55 Mod(1, 3)*x + O(x^2)
   56 Mod(0, 3)*x + O(x^2)
   57 Mod(0, 3)*x + O(x^2)
   58 1 + 2*x + 3*x^2 + O(x^3)
   59 1 + 2*x + 3*x^2 + O(x^6)
   60 1 + 2*x - 5*x^2 + O(x^3)
   61 1 + 2*y + O(y^2)
   62 1 + 2*y + 3*y^2 + O(y^5)
   63 1 + 2*y + 3*y^2 + O(y^5)
   64 O(x^3)
   65 1 + 2*y + 3*y^2 + O(y^5)
   66 x + O(x^4)
   67 O(x^3)
   68 x + x^2 + O(x^3)
   69 O(x^2)
   70 O(x^0)
   71 O(x^0)
   72 O(x^-1)
   73 O(x^0)
   74 y + x + O(x^2)
   75 (y + O(y^17)) + (1 + O(y^16))*x + O(x^2)
   76 Mod(0, 7)*x^15 + O(x^16)
   77 Mod(1, 7)*x^2 + Mod(1, 7)*x^4 + O(x^5)
   78 Mod(0, 7)*x^15 + O(x^16)
   79 Mod(1, 7) + O(x^16)
   80 Mod(1, 7)*x + O(x^16)
   81 Mod(0, 7)*x^14 + O(x^15)
   82 Mod(0, 7)*x^14 + O(x^15)
   83 Mod(0, 7)*x^15 + O(x^16)
   84 Mod(0, 7)*x^15 + O(x^16)
   85 Mod(0, 7)*x^15 + O(x^16)
   86 Mod(0, 7)*x^15 + O(x^16)
   87 O(x^16)
   88 Mod(0, 7)*x^15 + O(x^16)
   89 O(x^16)
   90 0
   91 Mod(0, 4)*x + O(x^2)
   92 (1 + O(y^2))*x^3
   93 (Mod(1, 3) + O(y^2))*x^3 + (Mod(0, 3)*y + O(y^2))*x^2 + (Mod(0, 3)*y + O(y^2
   94 ))*x + (Mod(0, 3)*y + O(y^2))
   95 O(x)
   96 O(3) + O(x)
   97 O(3^2) + O(x)
   98 O(3^3) + O(x)
   99 1 + O(x)
  100   *** _+_: Warning: normalizing a series with 0 leading term.
  101 1.0000000000000000000000000000000000000*x^-1 + O(x)
  102 [0, 1, 1]
  103 [0, 1, 1]
  104 [0, 1, 1]
  105 Mod(0, 9)*x + O(x^2)
  106 0.E-38*x^-1 + O(x^0)
  107 O(x^0)
  108 Mod(0, 2)*x^-1 + O(x^0)
  109 Mod(0, 5) + O(x)
  110 Mod(0, 5)*x^-1 + O(x^0)
  111 Mod(0, 5)*x^-1 + O(x^0)
  112 1 + O(y)
  113 1 + y^2 + O(y^4)
  114 1
  115 1
  116 0
  117 1
  118 1
  119 1
  120 1
  121 1 + O(x^200)
  122 1
  123 1 + x^3 + O(x^6)
  124 1 + x^2 + O(x^4)
  125 1 + x^3 + 4*x^4 + O(x^5)
  126 0
  127 Mod(0, 3)
  128 O(3^2)*x^2 + O(x^3)
  129 1
  130 Mod(1, 3)
  131 1 + O(3)*x + O(x^2)
  132 1 + z^2 + O(z^3)
  133 y^2 + (1 + z^2 + O(z^3))
  134 x^-1 - 1/6*x + 1/120*x^3 + O(x^4)
  135 t^-1 - 1/6*t + 1/120*t^3 + O(t^4)
  136 -1/2*x + 1/24*x^3 - 1/720*x^5 + 1/40320*x^7 - 1/3628800*x^9 + 1/479001600*x^
  137 11 - 1/87178291200*x^13 + 1/20922789888000*x^15 - 1/6402373705728000*x^17 + 
  138 O(x^18)
  139   ***   at top-level: subst(x^-1+O(x),x,Mod(0,3))
  140   ***                 ^---------------------------
  141   *** subst: impossible inverse in gsubst: Mod(0, 3).
  142   ***   at top-level: subst(O(x^-1),x,Mod(0,3))
  143   ***                 ^-------------------------
  144   *** subst: impossible inverse in gsubst: Mod(0, 3).
  145   ***   at top-level: subst(x^-1+O(x),x,0*x)
  146   ***                 ^----------------------
  147   *** subst: impossible inverse in gsubst: 0.
  148   ***   at top-level: subst(O(x^-1),x,0*x)
  149   ***                 ^--------------------
  150   *** subst: impossible inverse in gsubst: 0.
  151   ***   at top-level: Ser(1/x,y)
  152   ***                 ^----------
  153   *** Ser: incorrect priority in Ser: variable x < y
  154   ***   at top-level: Ser(x,y)
  155   ***                 ^--------
  156   *** Ser: incorrect priority in Ser: variable x < y
  157   ***   at top-level: Ser([x],y)
  158   ***                 ^----------
  159   *** Ser: incorrect priority in Ser: variable x <= y
  160   ***   at top-level: Ser(x,,-5)
  161   ***                 ^----------
  162   *** Ser: domain error in Ser: precision < 0
  163   ***   at top-level: Ser("")
  164   ***                 ^-------
  165   *** Ser: incorrect type in Ser (t_STR).
  166   *** _/_: Warning: normalizing a series with 0 leading term.
  167   ***   at top-level: O(13^-5)/Mat(Mod(2,26)*y*x+(Mod(1,2)*y^-1+O(y^
  168   ***                         ^--------------------------------------
  169   *** _/_: impossible inverse in div_ser: O(13^0) + O(13^0)*y + O(13^0)*y^2 + O(13^0)*y^3 + O(y^4).
  170   ***   at top-level: laurentseries(1)
  171   ***                 ^----------------
  172   *** laurentseries: incorrect type in laurentseries (t_INT).
  173   ***   at top-level: laurentseries((x,y)->1)
  174   ***                 ^-----------------------
  175   *** laurentseries: incorrect type in laurentseries (t_CLOSURE).
  176   ***   at top-level: O(x)/Mod(0,5)
  177   ***                     ^---------
  178   *** _/_: impossible inverse in gdiv: Mod(0, 5).
  179   ***   at top-level: O(x)/O(y)
  180   ***                     ^-----
  181   *** _/_: impossible inverse in gdiv: O(y).
  182   ***   at top-level: O(y)/O(x)
  183   ***                     ^-----
  184   *** _/_: impossible inverse in RgXn_inv: 0.
  185 Total time spent: 7