coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Théo Zimmermann <theo.zimmi AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Best bet for computing with floats
- Date: Mon, 04 Dec 2017 09:35:57 +0000
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=theo.zimmi AT gmail.com; spf=Pass smtp.mailfrom=theo.zimmi AT gmail.com; spf=None smtp.helo=postmaster AT mail-vk0-f49.google.com
- Ironport-phdr: 9a23:DOeFKRKQE8YJwhWCf9mcpTZWNBhigK39O0sv0rFitYgXL/XxwZ3uMQTl6Ol3ixeRBMOAtKIC1rKempujcFJDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBWB6kG1uDUVA1D0MRd/DuXzAI/bycqthM6o/JiGXwXJgw2PYLZ3IQ+zpAPX/p0KgYZlbLQwzx7IinRNcuVSg2hvIATAzF7H+s6s8cs7oGxrsPU7+psYXA==
The canonical answer to your question would be: a FAQ. It happens that Coq has a FAQ but it is mostly useless because it is very outdated. For mostly historical reasons, it is particularly hard to contribute to, and thus to maintain. I proposed in this issue to move the FAQ to the wiki to make it easier to maintain by users themselves: https://github.com/coq/coq/issues/6180
(I would do this migration myself if I had an unlimited amount of time in my hands. If anyone - you don't need to be a regular Coq contributor - wants to help with this, it would be definitely welcome: post a comment on the issue, some guidance can be provided.)
Once the migration is done, we can start updating the FAQ and making it better. Some questions can probably be removed, other added, when a good answer exists on StackOverflow, on Coq-Club or elsewhere on the internet we can link to it, etc.
Théo
Le ven. 1 déc. 2017 à 00:29, Gaëtan Gilbert <gaetan.gilbert AT skyskimmer.net> a écrit :
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?
- [Coq-Club] Best bet for computing with floats, Kevin Sullivan, 12/01/2017
- Re: [Coq-Club] Best bet for computing with floats, Gaëtan Gilbert, 12/01/2017
- Re: [Coq-Club] Best bet for computing with floats, Benjamin Pierce, 12/01/2017
- Re: [Coq-Club] Best bet for computing with floats, Kevin Sullivan, 12/01/2017
- Re: [Coq-Club] Best bet for computing with floats, Bas Spitters, 12/01/2017
- Re: [Coq-Club] Best bet for computing with floats, Théo Zimmermann, 12/04/2017
- RE: [Coq-Club] Best bet for computing with floats, Soegtrop, Michael, 12/04/2017
- Re: [Coq-Club] Best bet for computing with floats, Kevin Sullivan, 12/04/2017
- Re: [Coq-Club] Best bet for computing with floats, Gaëtan Gilbert, 12/01/2017
Archive powered by MHonArc 2.6.18.