From mboxrd@z Thu Jan 1 00:00:00 1970
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Philipp Stephani
Newsgroups: gmane.emacs.devel
Subject: Re: Removing some workarounds for big integers
Date: Mon, 22 Apr 2019 17:40:00 +0200
Message-ID:
References: <86d0uck5o0.fsf@gmail.com>
<15786884-92c4-efb0-58d3-a6ec6726a0fe@cs.ucla.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
logging-data="176367"; mail-complaints-to="usenet@blaine.gmane.org"
Cc: Andy Moreton ,
Emacs developers
To: Paul Eggert
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 22 17:40:53 2019
Return-path:
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([209.51.188.17])
by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256)
(Exim 4.89)
(envelope-from )
id 1hIb3s-000jlo-BF
for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2019 17:40:52 +0200
Original-Received: from localhost ([127.0.0.1]:39041 helo=lists.gnu.org)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from )
id 1hIb3r-0003ln-DZ
for ged-emacs-devel@m.gmane.org; Mon, 22 Apr 2019 11:40:51 -0400
Original-Received: from eggs.gnu.org ([209.51.188.92]:59862)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1hIb3I-0003jI-Kk
for emacs-devel@gnu.org; Mon, 22 Apr 2019 11:40:17 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1hIb3H-00056Z-RI
for emacs-devel@gnu.org; Mon, 22 Apr 2019 11:40:16 -0400
Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:40467)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
(Exim 4.71) (envelope-from )
id 1hIb3H-00055v-JY
for emacs-devel@gnu.org; Mon, 22 Apr 2019 11:40:15 -0400
Original-Received: by mail-oi1-x230.google.com with SMTP id f196so8748331oib.7
for ; Mon, 22 Apr 2019 08:40:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=DeN/+ZIg5Bk5wfTogxjwmtlGNZl9m/RWm/B/tIejv4Q=;
b=JHG0Mg9IAwkBPNuEqeoJrOBzcqu06vllpOTY02rYstez3/nZ9M0CKBwuVVuM6kXS77
aO+R5qBikbwQF29mPpFg2OP027PEmclZG3EPfcrQjn2ra9B1pcN0evOsW1SFiSenajl7
xFaviEuSyU1a5JhGnC4odvuBdBPB6BSfacrD+2lwZ8RvzI67abOBb37f5KZN54pwTpZe
J/LA0LQUsOyzcDsHCx8e7Liw7C+2OQ5F35hwBI7APF5nTmNk4+oqVEyD5JDuUQnS0nKi
KybKXA7R555IBFBs72LOHlglzbL5llB0QY0nUzT/HPl7MptkWb6Vg9vhDRgqHKY3oNnt
4+tw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=DeN/+ZIg5Bk5wfTogxjwmtlGNZl9m/RWm/B/tIejv4Q=;
b=BcGtcB7m88Aq/5Twdu3rpbqPDwzM7HATraouKrgzgjf4YUWxCG+knBkeNaCSkoG+q9
c9e8wFMi/K4+4iim34QwOIcNn9ueM3xtei3DRLralKf8Arlan6XwKk3V3oczdT9owkdo
OCDbRZEqp0Q5wrw1aS1aYATGzZuo9gugt1P8aSYN6CVOnpiRNqKI2c3L0Ka+ZI28EKx9
CMiOIF5zvQ8B5QfLEv1w9jX23AEblNH3f1rmmukIOBnNAwIaWpemwNvp+e3Z2Eg228qN
MIEWCXHACHcNtaMldGcFk+so56O2wUuVmtOqA8WfwzRUgHf54SZ7YI/h+RnvAgHKqs9l
Di3g==
X-Gm-Message-State: APjAAAXAckK/aPKhqszpUK4K9oZ80Mnnt3YzTfPCjH4ztAMa3AACxR6n
B9jqQ1yqq5qG+pCytrfbW1yT3/zNycmsRbXuhtU=
X-Google-Smtp-Source: APXvYqyOUsef8ETk7UETc9vTCjeV9DsN/Ai/utyYJCmQUZJAyouehdCOvbz19exsaW+YyYWGZx07358kc+MIq1c8eU8=
X-Received: by 2002:aca:310a:: with SMTP id x10mr10896047oix.161.1555947614392;
Mon, 22 Apr 2019 08:40:14 -0700 (PDT)
In-Reply-To: <15786884-92c4-efb0-58d3-a6ec6726a0fe@cs.ucla.edu>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
recognized.
X-Received-From: 2607:f8b0:4864:20::230
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel"
Xref: news.gmane.org gmane.emacs.devel:235771
Archived-At:
Am Sa., 22. Sept. 2018 um 01:12 Uhr schrieb Paul Eggert :
>
> Philipp Stephani wrote:
>
> > It looks like Paul has already done most of this work in commit
> > d77d01d22902acdc45c2c7059de4f1b158ab5806.
>
> Yes, I've already replaced all uses of make_fixnum_or_float and INTEGER_TO_CONS
> with INT_TO_INTEGER.
>
> There are still quite a few places that need looking at, though. Stefan
> mentioned timestamps; I'll try to bump the priority of that.
I've checked some of the remaining uses of CONS_TO_INTEGER. It seems
some of them we can replace right away. For some others the
documentation requires a number; we can detect integral floats for
them, but should deprecate the float usage.