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] a floating-point program example in WP
- Subject: [Frama-c-discuss] a floating-point program example in WP
- From: juki14 at gmail.com (Junkil “David” Park)
- Date: Mon, 31 Jul 2017 15:07:26 -0400
Hi, I try to use WP to verify a floating-point program example excerpted from the IJCAR10 paper by Ali Ayad and Claude Marche, listed as follows: /*@ requires \abs(x) <= 1.0; @ ensures \abs(\result - \exp(x)) <= 0x1p-4; */ double my_exp(double x) { /*@ assert \abs(0.9890365552 + 1.130258690*x + @ 0.5540440796*x*x - \exp(x)) <= 0x0.FFFFp-4; */ return 0.9890365552 + 1.130258690*x + 0.5540440796*x*x; } However, WP says that: [wp] warning: Builtin \exp(real) not defined. Is there a way to verify this example with WP? Do I have to use Jessie for this? Thanks, Junkil
- Prev by Date: [Frama-c-discuss] Predicates with bitwise operators?
- Previous by thread: [Frama-c-discuss] Predicates with bitwise operators?
- Index(es):