From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Using the GNU GMP Library for Bignums in Emacs Date: Thu, 03 May 2018 22:30:43 +0200 Message-ID: References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <42cbc5ab-2f02-4aa5-4b19-7b2357f91692@cs.ucla.edu> <1f58acbf-a7d8-bf4e-3d0e-a285515a22e6@cs.ucla.edu> <2549728d-8e40-b46a-009e-07cef0c24208@cs.ucla.edu> <63fdd138-77d3-89b9-aa69-490300f588a9@cs.ucla.edu> <838t90pr2l.fsf@gnu.org> <83sh78o6af.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1525380632 28622 195.159.176.226 (3 May 2018 20:50:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 May 2018 20:50:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: eggert@cs.ucla.edu, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 03 22:50:28 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fELBM-0007MB-8k for ged-emacs-devel@m.gmane.org; Thu, 03 May 2018 22:50:28 +0200 Original-Received: from localhost ([::1]:58926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fELDT-0006ap-9T for ged-emacs-devel@m.gmane.org; Thu, 03 May 2018 16:52:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEKsM-0004PZ-KZ for emacs-devel@gnu.org; Thu, 03 May 2018 16:30:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEKsL-0003ZD-Nl for emacs-devel@gnu.org; Thu, 03 May 2018 16:30:50 -0400 Original-Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:33131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEKsI-0003V7-Jn; Thu, 03 May 2018 16:30:46 -0400 Original-Received: by mail-wr0-x242.google.com with SMTP id o4-v6so18892239wrm.0; Thu, 03 May 2018 13:30:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=cQ5E2nckHjFIBxCii4PePUJZCVFZvJOeXqyiC8IueQs=; b=rwPOh68ned+8UlDjOamd0wS8calQ9mGMP7OFN3pwVxJkGw5642s3xqL5bAgxmgGMxG R8c1O2Rx+sOL9xMVRQbaDnp3H7Jm+3hppojACwh+mjZA/r3z7cmzcAQbm8YOEtsa77xa 7VkKmW/BwDwvTuVW4HxVYVWRRDds+vx2nU/y4wlrZaJiwm/MFwePYiP8a0D6Gzm+Cr24 Z9yP/f69X+LxiWnOKIYsQnp52p3Q57sXalp7bLSPd8WrA08IogsKMy/R36BS8zYapQ80 SqO9AgGMpmboy+spz9qn0MNTjY4RlmTs+ID3iguYw0Ir7MXLO6x8KJmz1UtFBXrRZpTA zLtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=cQ5E2nckHjFIBxCii4PePUJZCVFZvJOeXqyiC8IueQs=; b=DRnAxQJQa2/I0Gxd2YlKthoceAn+pM22gNma1tFrP/vR6LmiQBrnML3G2Zz3EGB9CI jrhci91TW/q0YCmUZISNAizyj6UTdf+j4J2cMmoxmbmjqnZxPjonWPCZV2/YRS4oqpfF gUnaeTldkaJszP72iSab4xXLnQuz+BNA3bTV73qaB3eAdMSaOysI8k+ES1WoqeTjm8Un a1qz4e3twOx59XZZY7Jeu+l7guXbCPHv2x8tCeE4IBLE2xMcH8jkd2G8xaMmouKgHQs2 8Gb1kDBqIazpf3LKnYmNIIRTPq6xfus3Ik2zbFevyDe5ygbbzV3RIXCUgplEQgOyb2Wr iB1Q== X-Gm-Message-State: ALQs6tCXj3ivDUmBW8v+JHg9qf52pAJkm8fcS5NhYzwGrFLkxM1hKNOa nMSpkTldc3mYbammqJVcjI+ILQ== X-Google-Smtp-Source: AB8JxZp//ZPKFz1lhTt0v73hftSsMDzfUmg1gXEPQRJyCBhUhBTx/ygMNyisLJHzV87PRERupy2URw== X-Received: by 2002:adf:e447:: with SMTP id t7-v6mr19361030wrm.143.1525379445379; Thu, 03 May 2018 13:30:45 -0700 (PDT) Original-Received: from caladan ([37.186.165.47]) by smtp.gmail.com with ESMTPSA id n143-v6sm366281wmd.29.2018.05.03.13.30.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 13:30:44 -0700 (PDT) In-Reply-To: <83sh78o6af.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 03 May 2018 23:03:52 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 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:225055 Archived-At: On Thu, May 03 2018, Eli Zaretskii wrote: [...] > Maybe we are miscommunicating. fffffffffffffefe cannot be a fixnum > because it invades the bits reserved for the type tag. Emacs fixnums > are limited to smaller values, as I'm sure you know. If we interpret "fffffffffffffefe" as the 64 bit two's complement representation of an integer then it corresponds to the integer -258. If we interpret "fefe" as the 16 bit two's complement representation of an integer then we also get the integer -258. And -258 is a fixnum. Still convinced that "fffffffffffffefe cannot be a fixnum"?. Helmut