Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] using floating-point + in spec


  • Subject: [Frama-c-discuss] using floating-point + in spec
  • From: siegel at udel.edu (Stephen Siegel)
  • Date: Wed, 30 Nov 2011 17:22:56 -0500

What is the right way to use floating-point addition in a specification?  For example, I want to say

ensures x == y + z;

where x, y, and z are variables in the program, and I want the "+" to mean "floating-point addition" (i.e., whatever the "+" means inside the program), not "real (mathematical) addition".

Thx,
Steve