modular-arithmetic

Check-in [0850058f44]
Login

Check-in [0850058f44]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:imported v1.0.2
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | v1.0.2
Files: files | file ages | folders
SHA3-256: 0850058f44b2793b20d90f13e691c73fe5b83b287d661da46439be665615e011
User & Date: murphy 2018-08-18 15:58:28.770
Context
2018-08-18
16:26
Ported the egg to CHICKEN 5 check-in: 8bb517f3c0 user: murphy tags: chicken-5
15:58
imported v1.0.2 Leaf check-in: 0850058f44 user: murphy tags: trunk, v1.0.2
15:57
imported v1.0.1 check-in: 529ec5356a user: murphy tags: trunk, v1.0.1
Changes
Unified Diff Ignore Whitespace Patch
Changes to modular-arithmetic.meta.
1
2
3
4
5
6
7
8
9
((egg "modular-arithmetic.egg")
 (files "modular-arithmetic.setup" "modular-arithmetic.meta" "modular-arithmetic.scm" "tests/run.scm")
 (needs numbers matchable)
 (test-depends test)
 (category math)
 (synopsis "Modular Arithmetic on Finite Fields")
 (author "Thomas Chust")
 (doc-from-wiki)
 (license "BSD"))

|







1
2
3
4
5
6
7
8
9
((egg "modular-arithmetic.egg")
 (files "modular-arithmetic.setup" "modular-arithmetic.meta" "modular-arithmetic.release-info" "modular-arithmetic.scm" "tests/run.scm")
 (needs numbers matchable)
 (test-depends test)
 (category math)
 (synopsis "Modular Arithmetic on Finite Fields")
 (author "Thomas Chust")
 (doc-from-wiki)
 (license "BSD"))
Changes to modular-arithmetic.setup.
1
2
3
4
5
6
7
8
9
(compile -s -O2 -d1 "modular-arithmetic.scm" -j modular-arithmetic)
(compile -c -O2 -d1 "modular-arithmetic.scm" -j modular-arithmetic -unit modular-arithmetic)
(compile -s -O2 -d0 "modular-arithmetic.import.scm")

(install-extension
 'modular-arithmetic
 '("modular-arithmetic.so" "modular-arithmetic.o" "modular-arithmetic.import.so")
 '((version 1.0.1)
   (static "modular-arithmetic.o")))







|

1
2
3
4
5
6
7
8
9
(compile -s -O2 -d1 "modular-arithmetic.scm" -j modular-arithmetic)
(compile -c -O2 -d1 "modular-arithmetic.scm" -j modular-arithmetic -unit modular-arithmetic)
(compile -s -O2 -d0 "modular-arithmetic.import.scm")

(install-extension
 'modular-arithmetic
 '("modular-arithmetic.so" "modular-arithmetic.o" "modular-arithmetic.import.so")
 '((version 1.0.2)
   (static "modular-arithmetic.o")))
Changes to tests/run.scm.
29
30
31
32
33
34
35



  (test "Exponentiation"
    8
    (with-modulus 13
      (expt 5 3)))

  )









>
>
29
30
31
32
33
34
35
36
37

  (test "Exponentiation"
    8
    (with-modulus 13
      (expt 5 3)))

  )

(test-exit)