Skip to content

Outdated documentation for --fixedbv commandline option and where to find more documentation for __CPROVER_fixedbv #6115

Open
@hc825b

Description

@hc825b

CBMC version: 5.10
Operating system: Ubuntu 20.04
Exact command line resulting in the issue: cbmc --fixedbv test.c
What behaviour did you expect: N/A
What happened instead: Unknown option: --fixedbv

Hi CBMC-dev,

It seems the command line option --fixedbv is removed at #2148, and the pull request says __CPROVER_fixedbv is the preferred way to reason with fixed-point numbers. However, the documentations linked below are not updated.
http://www.cprover.org/cprover-manual/modeling/floating-point/
https://github.com/diffblue/cbmc/blob/develop/doc/cprover-manual/modeling-floating-point.md#math-library

Also I would like to know where I can see the models of arithmetic operators on __CPROVER_fixedbv. For example, does CBMC check overflow for arithmetic operators? How are multiplication and division modeled? Does CBMC provide models for trigonometry functions over common fixed-point formats such as __CPROVER_fixedbv[32][16]? If not, how do I provide my own approximated models?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions