1. 23 Sep, 2020 3 commits
    • Andreas Enge's avatar
      Enable the use of fplll-5 for coefficient recognition. · 53bba633
      Andreas Enge authored
      Thanks to Jan Engelhardt <jengelh@inai.de> for figuring out the API
      of fplll-5.
      * configure.ac: If fplll-4 is not found, check for fplll-5.
      * src/lll.cpp (lll_fplll): Add a version working with fplll-5, and simplify
        the code for fplll-4.
    • Andreas Enge's avatar
      Unset part of the user's .gprc. · 7078fedb
      Andreas Enge authored
      This is necessary since terminal codes for colours may appear in the output.
      * scripts/cmh-classpol.sh.in: Define GP_OPTS to unset the colours and use
        it everywhere gp is called.
    • Andreas Enge's avatar
      Do not fix the gp stack size, instead enable reading .gprc. · 293d5318
      Andreas Enge authored
      32 bit machines may choke on addressing 8GB of stack, while smaller sizes
      may not be enough on large examples.
      This partially reverts commit 370d5ebe.
      Reported by Jan Engelhardt <jengelh@inai.de>.
      * scripts/cmh-classpol.sh.in: Drop fixing the gp stack size with "-s",
        and drop the "-f" parameter to invocations of gp.
  2. 21 Sep, 2020 1 commit
  3. 20 Aug, 2020 3 commits
  4. 19 Aug, 2020 2 commits
  5. 23 Jun, 2020 2 commits
  6. 16 Apr, 2019 2 commits
  7. 04 Apr, 2019 2 commits
  8. 27 Feb, 2019 1 commit
    • Andreas Enge's avatar
      Scale the matrix passed to LLL differently by removing a common factor · b15df9ff
      Andreas Enge authored
      of 2^Xp from the last column. The time for [296, 346, 27265] decreases
      by about a third. At the same time, drop the negligible factor s from the
      scaled unit matrix and replace divisions by powers of 2 by right shifts;
      this has no effect on the running time, while preserving correctness
      of the result.
      * src/quadratic_field.c (quadratic_number_recognize): Modify the matrix
        passed to LLL.
  9. 25 Feb, 2019 7 commits
  10. 21 Feb, 2019 5 commits
  11. 20 Feb, 2019 1 commit
    • Andreas Enge's avatar
      When recognising the coefficients of the class polynomial, multiply each · e77b5aca
      Andreas Enge authored
      of them with the currently known denominator instead of a fixed factor
      depending only on the number of the polynomial.
      * src/cm2.c (reconstruction_prepare_for_coeff): Multiply coefficient by
        state->denom_lcm instead of state->premult.
        (recognise_quadratic_coefficients): Set state->denom_lcm instead of
      * rsrc/cm2.h (reconstruction_status_s): Drop the premult field.
  12. 07 Dec, 2018 3 commits
  13. 21 Nov, 2018 2 commits
    • Andreas Enge's avatar
      Make FPLLL optional. · 97b783ce
      Andreas Enge authored
      * configure.ac: When FPLLL is found, set HAVE_FPLLL in config.h; otherwise
        just emit a warning instead of an error.
      * src/recognize_quadratic.cpp (recognize_quadratic): Call
        recognize_quadratic_pari instead of recognize_quadratic_fplll if FPLLL
        is not available.
    • Andreas Enge's avatar
      recognize_quadratic: Use a variant calling LLL from PARI instead of FPLLL. · d30e91b1
      Andreas Enge authored
      * src/recognize_quadratic.cpp (recognize_quadratic_pari): New function.
        (recognize_quadratic_fplll): Rename from...
        (recognize_quadratic): ...this. Rewrite this function to call FPLLL,
        since PARI is much slower.
      * src/recognize_quadratic.h: Include parsepari.h.
      * src/Makefile.am: Link with libparsepari.
  14. 16 Nov, 2018 6 commits