"Fossies" - the Fresh Open Source Software Archive

Member "pari-2.13.1/src/test/32/pow" (14 Jan 2021, 2516 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 "pow": 2.13.0_vs_2.13.1.

    1 Mod(1, 3)
    2 Mod(1, 3)
    3 1
    4 [;]
    5 
    6 [1]
    7 
    8 Mod(0, 1)
    9 Mod(1, 3)
   10 Qfb(1, 2, -1, 0.E-38)
   11 Qfb(-1, 2, 1, 0.E-38)
   12 Vecsmall([1, 2, 3])
   13 O(2)
   14   ***   at top-level: O(2)^-2
   15   ***                     ^---
   16   *** _^_: impossible inverse in powps: O(2).
   17 4
   18 9/4
   19 1/2*I
   20 0.25000000000000000000000000000000000000 + 0.4330127018922193233818615853764
   21 6809174*I
   22 2*I
   23 1.0000000000000000000000000000000000000 + 1.73205080756887729352744634150587
   24 23669*I
   25 1
   26 1
   27 -1
   28   ***   at top-level: 2^n
   29   ***                  ^--
   30   *** _^_: overflow in lg().
   31   ***   at top-level: (1/2)^n
   32   ***                      ^--
   33   *** _^_: overflow in lg().
   34 Qfb(2, 0, -1, 0.E-38)
   35 Mod(x^2, x^6 + x^5 + x^4 + x^3 + x^2 + x + 1)
   36 O(x^0)
   37 x + O(x^4)
   38 [8.0000000000000000000000000000000000000, 27.0000000000000000000000000000000
   39 00000]
   40 [8.0000000000000000000000000000000000000, 27.0000000000000000000000000000000
   41 00000]~
   42 
   43 [8.0000000000000000000000000000000000000]
   44 
   45 O(x^0)
   46 0.E-19
   47 Mod(2, 3)
   48 Mod(4, 5)
   49   ***   at top-level: Mod(2,3)^(1/2)
   50   ***                         ^------
   51   *** _^_: not an n-th power residue in gpow: Mod(2, 3).
   52 Mod(2, 3)
   53   ***   at top-level: Mod(1,4)^(1/2)
   54   ***                         ^------
   55   *** _^_: not a prime number in gpow: 4.
   56 3 + 7 + 2*7^2 + 6*7^3 + 7^4 + O(7^5)
   57   ***   at top-level: (3+O(7^5))^(1/2)
   58   ***                           ^------
   59   *** _^_: not an n-th power residue in gpow: 3 + O(7^5).
   60 1 + 3*7 + 5*7^2 + O(7^3)
   61 1 + O(2)
   62 1 + O(2)
   63   ***   at top-level: sqrt(Mod(2,4))
   64   ***                 ^--------------
   65   *** sqrt: not a prime number in Fl_sqrt [modulus]: 4.
   66 [[0, 0], [1.0000000000000000000000000000000000000, 1.00000000000000000000000
   67 00000000000000]]
   68 [[0, 0]~, [1.0000000000000000000000000000000000000, 1.0000000000000000000000
   69 000000000000000]~]
   70 [[0, 0; 0, 0], [1.0000000000000000000000000000000000000, 1.00000000000000000
   71 00000000000000000000; 1.0000000000000000000000000000000000000, 1.00000000000
   72 00000000000000000000000000]]
   73 Mod(0, 1)
   74 0.49999999965342640984014059874318224111
   75 [4.0000000000000000000000000000000000000]~
   76 1 + 2*3 + 2*3^2 + 2*3^3 + O(3^4)
   77 [Mod(1, 11), Mod(2, 11), Mod(4, 11), Mod(8, 11), Mod(5, 11), Mod(10, 11), Mo
   78 d(9, 11), Mod(7, 11), Mod(3, 11), Mod(6, 11), Mod(1, 11)]
   79 [1, 3.1415926535897932384626433832795028842, 9.86960440108935861883449099987
   80 61511353, 31.006276680299820175476315067101395202, 97.4090910340024372364403
   81 32688705111250, 306.01968478528145326274131004343560648, 961.389193575304437
   82 03021944365241989886, 3020.2932277767920675142064930720418319]
   83 [2, 6, 18, 54, 162, 486]
   84 []
   85 [1]
   86 Total time spent: 0