Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Bitvec.modular function #1394

Merged
merged 24 commits into from
Jan 7, 2022

Commits on Oct 23, 2021

  1. Update LLVM backend to work with version 12

    This may also work with later versions, but I did not test them
    bmourad01 committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    06ee098 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Configuration menu
    Copy the full SHA
    c3f1f26 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Configuration menu
    Copy the full SHA
    3b8b06c View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2021

  1. Configuration menu
    Copy the full SHA
    53677fc View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2021

  1. Configuration menu
    Copy the full SHA
    4695b07 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2021

  1. Configuration menu
    Copy the full SHA
    c6c89c1 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    a1fb592 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2021

  1. Configuration menu
    Copy the full SHA
    fa3c6da View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Configuration menu
    Copy the full SHA
    d5dc07f View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Configuration menu
    Copy the full SHA
    896a34d View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2021

  1. Configuration menu
    Copy the full SHA
    3cce21b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2021

  1. Configuration menu
    Copy the full SHA
    96874e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c25c801 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2021

  1. Configuration menu
    Copy the full SHA
    cf3352a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cc0b14 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2021

  1. Configuration menu
    Copy the full SHA
    5a38191 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    542ba10 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Configuration menu
    Copy the full SHA
    14e4b38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e5ff40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c98118 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Configuration menu
    Copy the full SHA
    a57a83a View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2022

  1. Adds the Bitvec.modulus function

    It's a bit clumsy to construct a Bitvec instance when the bit width is
    not statically known, e.g.:
    
    ```
    let add n x y =
      let module M = Bitvec.Make(struct
        let modulus = Bitvec.modulus n
      end) in
      M.(x + y)
    ```
    
    Instead, we can create a first-class module more concisely:
    
    ```
    let add n x y =
      let open (val Bitvec.modular n) in
      x + y
    ```
    
    Unrelatedly, this also adds the missing `Bitvec.M16` specialization and
    its corresponding modulus.
    bmourad01 committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    baff49c View commit details
    Browse the repository at this point in the history
  2. Fixes typo in docstring

    bmourad01 committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    88cbd5e View commit details
    Browse the repository at this point in the history
  3. Adds since version

    bmourad01 committed Jan 7, 2022
    Configuration menu
    Copy the full SHA
    f10ddec View commit details
    Browse the repository at this point in the history