Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Best bet for computing with floats

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Best bet for computing with floats


Chronological Thread 
  • From: Kevin Sullivan <sullivan.kevinj AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Best bet for computing with floats
  • Date: Thu, 30 Nov 2017 18:39:34 -0500
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=sullivan.kevinj AT gmail.com; spf=Pass smtp.mailfrom=sullivan.kevinj AT gmail.com; spf=None smtp.helo=postmaster AT mail-wr0-f182.google.com
  • Ironport-phdr: 9a23:sEU7CxIBjwLWUVJVa9mcpTZWNBhigK39O0sv0rFitYgXLP/xwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kG1uDUVA1D0MRd/DuXzAI/bycqthM6o/JiGQAhWhTz1Wq52KBSopAOZ4tILhY9jNK83jBjEvHpOecxZwGppIRSYmBOqtZT4x4Jq7ykF46FpzMVHS6ivJ6k=

Thank you. Flocq was an obvious candidate. Interval less so. I will look at the latter to, so thanks, again for that. -Kevin

On Thu, Nov 30, 2017 at 6:28 PM, Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net> wrote:

On 16/08/2017 15:33, Guillaume Melquiond wrote:
> On 15/08/2017 08:05, karsar wrote:
>> What would be a natural choice of float number library if you want to do
>> some
>> computations with floats inside Coq (like it's done for integers and nats,
>> I know it could be slow) , as well as reason about their properties?
>> It would be nice to provide a minimal example script showing how you
>> import the library
>> and example of the addition of two floats as a demonstration.
>
> Both the Flocq and Interval libraries contain computationally effective
> floating-point components. Which one to use and how to use it depend on
> your use case. Do you need the floating-point numbers to be compliant
> with the IEEE-754 standard? What kind of reasoning do you want to
> perform on them? How efficient do you want the computations to be?
>
> Best regards,
>
> Guillaume
>

To all: if this is a question which tends to come up regularly is there some way we could make the answer easier to find?

Gaëtan Gilbert


On 01/12/2017 00:23, Kevin Sullivan wrote:
What library or libraries should I consider as I need to represent concrete floating point numbers, do calculations with them, and prove properties about them using the current version of Coq?




Archive powered by MHonArc 2.6.18.

Top of Page