Blog

Tag Archives: floating-point

So many programs to verify, so little time
Pascal Cuoq on 19 March 2012

This post offers two C programs that look analyzable. Each is self-contained, not so small that verification is trivial, but not so big that it's a man-year effort. If it was me doing the work, I would see what Frama-C's value analysis can do, but if you decide to do...

Read More

Float vs real
Pascal Cuoq on 9 February 2012

For some reason, uses of real to denote fixed-precision floating-point numbers (in languages such as FORTRAN) irritate me, but uses of integer or int to denote bounded integers do not. One notation isn't more accurate than the other, though. Does anyone have an idea why that might be?

Read More

Option to make GCC conform to C99 re:floating-point
Pascal Cuoq on 23 January 2012

The existence of this option to make GCC conform to C99 when compiling for the x87 floating-point instruction set is informative. The commentary that comes with the patch is quite interesting, if you are into this sort of thing. If you are not that much into the minutiae of the...

Read More

Static analysis tools comparisons
Pascal Cuoq on 25 November 2011

It is very easy to make snap judgments about other static analyzers when you are yourself working on one. You do not even need to act in bad faith: you just try the other tools on the programs that you worked hard to give interesting results on — difficult examples,...

Read More