From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: documentation of integers, fixnums and bignums Date: Mon, 10 Sep 2018 09:43:57 +0300 Message-ID: <83tvmxq2c2.fsf@gnu.org> References: <0f632217-27ad-4f54-8ce0-480301fa2a86@cs.ucla.edu> <83pnxorm37.fsf@gnu.org> <92915cae-21d5-c365-89f2-3a15fc9114c4@cs.ucla.edu> <7f7411eb-32c8-9ea6-8ead-2aaf603d3901@cs.ucla.edu> <83tvmzqld8.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1536561807 23404 195.159.176.226 (10 Sep 2018 06:43:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2018 06:43:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 08:43:23 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 1fzFut-0005zA-BR for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 08:43:23 +0200 Original-Received: from localhost ([::1]:50024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzFwz-0003fh-HP for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2018 02:45:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzFvo-0003fQ-Ob for emacs-devel@gnu.org; Mon, 10 Sep 2018 02:44:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzFvL-0006FL-3N for emacs-devel@gnu.org; Mon, 10 Sep 2018 02:43:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzFvK-0006FD-Vp; Mon, 10 Sep 2018 02:43:51 -0400 Original-Received: from [176.228.60.248] (port=3808 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzFvK-0004mC-Ie; Mon, 10 Sep 2018 02:43:50 -0400 In-reply-to: (message from Stefan Monnier on Sun, 09 Sep 2018 20:09:13 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:229593 Archived-At: > From: Stefan Monnier > Date: Sun, 09 Sep 2018 20:09:13 -0400 > > > And indeed, etc/charsets/gb108304.map clearly shows codepoints like > > 0x81308130, which will overflow the 32-bit most-positive-fixnum. > > (These codepoints are just a concatenation of the 4 bytes of the GB > > 10830 encoding, see https://en.wikipedia.org/wiki/GB_18030). > > Aha! Thanks. This deserves a comment in the code. Where would you suggest to put this comment?