Skip to content
Snippets Groups Projects
Commit a5caf8c1 authored by Jan Rochel's avatar Jan Rochel
Browse files

[e-acsl] fix typing problem when using rationals

The occurrence of rationals in the following logic function lead to an
assertion failure in Interval_utils.extract_ival, which was only defined
for non-integer arguments.

/*@
    logic integer signum(ℝ x) =
      x > 0. ? 1 : x < 0. ? -1 : 0;
*/

Regression test added: src/plugins/e-acsl/tests/arith/sign_rational.c
parent d60d9263
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment