Description
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!