[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the GNU GMP Library for Bignums in Emacs
From: |
Richard Stallman |
Subject: |
Re: Using the GNU GMP Library for Bignums in Emacs |
Date: |
Sun, 22 Apr 2018 23:39:26 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
https://www.gnu.org/software/emacs/manual/html_node/elisp/Integer-Basics.html),
> and they are documented to be pure value types, i.e. same-valued integers
> are the same object (
>
https://www.gnu.org/software/emacs/manual/html_node/elisp/Equality-Predicates.html).
> Especially the second property is widely used.
This will continue to be true for all the integers that are currently
representable. If we document that, maybe we won't have a lot of
places to fix.
> Or we could make them different types: the usual operators on
> fixnums would return fixnums, and the usual operators on bignums
> would return bignums. Mixing both would always return a bignum.
Having two data types for integers would be a nuisance for many Lisp
programs. It won't simplify anything, and it won't reduce the changes
needed in Lisp programs because of bignums.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.
- Re: Using the GNU GMP Library for Bignums in Emacs, (continued)
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/21
- Re: Using the GNU GMP Library for Bignums in Emacs, dancol, 2018/04/21
- Re: Using the GNU GMP Library for Bignums in Emacs, Philipp Stephani, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Daniel Colascione, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Clément Pit-Claudel, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs,
Richard Stallman <=
- Re: Using the GNU GMP Library for Bignums in Emacs, Siraphob (Ben) Phipathananunth, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Andreas Schwab, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/23
- Re: Using the GNU GMP Library for Bignums in Emacs, Richard Stallman, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Helmut Eller, 2018/04/22
- Re: Using the GNU GMP Library for Bignums in Emacs, Paul Eggert, 2018/04/22