Coder Social home page Coder Social logo

finite-fields-raku's Introduction

SparrowCI

Finite Fields Aritmetics in raku

use FiniteField;
my $*modulus = 13;

say 10 + 5;  # 2
say 10 / 3;  # 12  (3*12 = 36 = 13*2 + 10)

Notes

  • The dynamic variable $*modulus must be defined before calling any overloaded operator, otherwise the program will crash (no exception is handled so far).
  • Modular division will not check for primality of modulus or any other requirements.
  • Define a modulus for each lexical scopes you import the module in.
  • Althouh the name of this repo is using a plural, the name of the module itself is singular, because you only use one finite field at a time.
  • The main purpose of this module is to make writing cryptographic code easier.

finite-fields-raku's People

Contributors

grondilu avatar melezhik avatar samcv avatar zoffixznet avatar

Watchers

 avatar  avatar  avatar

finite-fields-raku's Issues

Release to fez and remove from p6c

Hi,

from what I can see, currently, this module is available both in the "zef ecosystem" and p6c - however, the p6c version is more up-to-date. Please make releases using fez and then this repository can be removed from the old master list which is really a legacy thing.

Thank you.

Module will not currently install

The issue that jumps out immediately is that there is no META6.json file, However, there are other problems, as illustrated in this output from my attempt to install:

$ zef install Modular
===> Searching for: Modular
===> Extraction: Failed to find a META6.json file for Modular:ver<0.1.2>:auth<Lucien Grondin> -- failure is likely
===> Testing: Modular:ver<0.1.2>:auth<Lucien Grondin>
===SORRY!=== Error while compiling /home/cbwood/.zef/store/p6-modular.git/990846d44b11998eef4685f8cc7d1648c031cffb/t/basic.t
An exception occurred while evaluating a BEGIN
at /home/cbwood/.zef/store/p6-modular.git/990846d44b11998eef4685f8cc7d1648c031cffb/t/basic.t:1
Exception details:
  Dynamic variable @*INC not found
    in block  at t/basic.t line 1

===> Testing [FAIL]: Modular:ver<0.1.2>:auth<Lucien Grondin>
Aborting due to test failure: Modular:ver<0.1.2>:auth<Lucien Grondin> (use --force-test to override)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.