Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Jake-Moss/python-flint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fmpz_mpoly
Choose a base ref
...
head repository: deinst/python-flint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: initialize_fmpz
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 1 contributor

Commits on Aug 20, 2023

  1. Directly initialize fmpz from a python int.

    Mimics the code from gmpy2 and so depends on undocumented internals of
    PyLong.
    deinst committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    e87b87d View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. Changed fmpz_set_pylong to use _fmpz_promote and demote

    No longer allocating a separate fmpz object so should be faster.
    deinst committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    c02a4c6 View commit details
    Browse the repository at this point in the history
  2. change fmpz_get_intlong to use mpz_export

    This uses the method from sagemath which is a bit simpler than that of
    gmpy2.  It is missing a normalization step that is in gmpy2.  I guess
    that the normalization step is not necessary.
    deinst committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    ec810d5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64a72da View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Sped up fmpz_set_pylong in the 2**30 to 2**40 range

    I'm not entirely sure what is going on, but this seems to be the fastest
    set of methods
    deinst committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    6cf0235 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. Merge branch 'master' into initialize_fmpz

    Not the most straightforward of merges, light editing of flintlib/flint.pxd and
    flintlib/fmpz.pxd was needed.
    deinst committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    64456af View commit details
    Browse the repository at this point in the history
Loading