Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F Frama Clang
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • Frama Clang
  • Merge requests
  • !9

Feature/ratio

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed T-Gruber requested to merge T-Gruber/frama-clang:feature/ratio into master Apr 08, 2022
  • Overview 1
  • Commits 2
  • Changes 2

The standard library of Frama-Clang is knwon to be incomplete. The implementation of the ratio header should be added. This requires changes to two files:

ratio:

  • add ratio header to share/libc++
  • add implementation

Makefile.common:

  • add ratio header to CXX_HEADERS (Installed header files)

Requirements:

  • limits: std::numeric_limits is implemented
  • type_traits: template specialization where type T is bool is implemented

Limitations:

  • as long as negative integers of type long long are not supported (#4 (closed)) only positive rational fraction are fully supported

Exemplary C++-program: ratio_test.cpp

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/ratio