Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • Frama Clang
  • Merge requests
  • !9

Open
Created Apr 08, 2022 by T-Gruber@T-GruberContributor
  • Report abuse
Report abuse

Feature/ratio

  • Overview 0
  • 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
Reviewer
Request review from
Time tracking
Source branch: feature/ratio