Skip to content
Snippets Groups Projects
  1. Sep 15, 2020
  2. Sep 14, 2020
  3. Aug 28, 2020
  4. Aug 27, 2020
  5. Aug 24, 2020
  6. Jul 27, 2020
  7. Jul 16, 2020
    • Basile Desloges's avatar
      [eacsl:tests] Allow the use of `PTESTS_OPTS` to change the test configuration · 93dbc482
      Basile Desloges authored
      - The makefile updates `PTESTS_OPTS` instead of `PLUGIN_PTESTS_OPTS` so
        that modifications of `PTESTS_OPTS` by the user are taken into
        account.
      - All the test config files are generated at the same time.
      - The test dependencies of E-ACSL are added to the target
        `plugins_ptests_config` to be generated along with the main target.
        This in turn allow the user to directly use `ptests.opt` to launch
        tests after compiling the plugin.
      93dbc482
  8. Mar 06, 2020
  9. Jan 13, 2020
  10. Jan 09, 2020
  11. Dec 16, 2019
  12. Dec 04, 2019
  13. Nov 26, 2019
  14. Nov 05, 2019
  15. Nov 04, 2019
  16. Sep 02, 2019
  17. Aug 30, 2019
  18. Aug 29, 2019
  19. Aug 28, 2019
  20. Aug 02, 2019
    • Julien Signoles's avatar
      [rational] rename Libr to Real · 0324062d
      Julien Signoles authored
      0324062d
    • Fonenantsoa Maurica's avatar
      Extend Interval, Typing and Translate: · ad8d968c
      Fonenantsoa Maurica authored and Julien Signoles's avatar Julien Signoles committed
        - Interval:
          - Not_an_integer -> Is_a_real|Not_a_number.
          - infer -> infer_with_real
            because Not_a_number has priority over Is_a_real
          - Ival.bottom when Is_a_real
            because the interval is for integers
        - Typing:
          - integer_ty -> number_ty=Cty|Gmpz|Libr|Nan
          - Other -> 'Other (Oreal|Onan)'
        - Translate:
          Encode real constants into strings:
            - **NO** conversion to float-point type
            - strnum_ty=StrZ|StrR|Not_a_strnum
              for tracking the type of the string
      Add Libr:
        - Gmpz -> Gmp=Gmpz+Gmpq
        - Libr=ref to Gmpq
      Add Gmpq builtins:
        - Custom mini-gmp -> libgmp
          because mini-gmp has no support for Q
        - Add arithmetic over Q in e_acsl_gmp_api.h
      Misc:
        - dec_to_frac: decimal expansion to fractional representation
          because decimal expansion is interpreted as double by Gmpq
      Tests:
        - BTS 1307 has an assertion wrongly evaluated, fixed
        - Add tests/gmp/reals.c
      THE MOST IMPORTANT TODO:
        - Completely hide the library for numbers (currently Gmp)
          inside Libr: Typing, Env and Translate should only know
          Libr and never directly call Gmp.
          This is crucial for extending E-ACSL in the future
          (eg: Gmp has no support for elementary functions), and
          also for using it as part of an abstract compiler
          (eg: with Fldlib)
          For the time being, in Translate,
          we have something as ugly as:
            let init_set =
              if Libr.is_t ty then Libr.init_set
              else Gmp.init_set
      ad8d968c
  21. Apr 29, 2019
Loading