coq-club AT inria.fr
Subject: The Coq mailing list
List archive
RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?
Chronological Thread
- From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?
- Date: Tue, 28 Jun 2016 11:50:24 +0000
- Accept-language: de-DE, en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga11.intel.com
- Ironport-phdr: 9a23:T+Ok2xD0h94ubIpNxQiEUyQJP3N1i/DPJgcQr6AfoPdwSP79osbcNUDSrc9gkEXOFd2CrakV06yP6Ou8AyQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd+KyZ3snLzos7ToICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0roGxsvKdr/MlZFK7+Yq4QTLpCDT1gPXp/rJngsgCGRg+S7FMdVH8Xm1xGGV6Wwgv9W8K7iSz3ufZn3zHedej3RrA9VDDop/NuSRTogSoDcSU+/W7LkMtopKNdvB+l4Rd4xtiHM8muKPNic/aFLpshTm1bU5MJWg==
I found it. The “Register” declarations get stripped from the generated documentation:
Register digits as int31 bits in "coq_int31" by True. Register int31 as int31 type in "coq_int31" by True.
Best regards,
Michael
From: coq-club-request AT inria.fr [mailto:coq-club-request AT inria.fr]
On Behalf Of Soegtrop, Michael
Dear Coq Users,
the In31 library
https://coq.inria.fr/library/Coq.Numbers.Cyclic.Int31.Int31.html
states that the Int31 type comes with an “underlying mechanism for hardware-efficient computations”. I wonder what this means and how it works. The addition in Int31 seems to be implemented by conversion to Z, addition in Z and conversion back.
Best regards,
Michael Intel Deutschland GmbH Intel Deutschland GmbH |
- [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/28/2016
- RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/28/2016
- Re: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Arnaud Spiwack, 06/28/2016
- RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/29/2016
- Re: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Laurent Thery, 06/29/2016
- Re: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Arnaud Spiwack, 06/29/2016
- RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/30/2016
- Re: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Laurent Thery, 06/29/2016
- RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/29/2016
- Re: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Arnaud Spiwack, 06/28/2016
- RE: [Coq-Club] How does Int31 "underlying mechanism for hardware-efficient computations" work?, Soegtrop, Michael, 06/28/2016
Archive powered by MHonArc 2.6.18.