GNU logs - #75994, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75994: "seq -w" is broken for large enough numbers
Resent-From: Alexey Dobriyan <adobriyan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 01 Feb 2025 17:45:01 +0000
Resent-Message-ID: <handler.75994.B.173843188512038 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 75994
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 75994 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.173843188512038
          (code B ref -1); Sat, 01 Feb 2025 17:45:01 +0000
Received: (at submit) by debbugs.gnu.org; 1 Feb 2025 17:44:45 +0000
Received: from localhost ([127.0.0.1]:59879 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1teHXw-000386-Tc
	for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 12:44:45 -0500
Received: from lists.gnu.org ([2001:470:142::17]:41888)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <adobriyan@HIDDEN>)
 id 1teHX4-00036L-TP
 for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 12:43:52 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <adobriyan@HIDDEN>)
 id 1teHWy-0002R6-8Y
 for bug-coreutils@HIDDEN; Sat, 01 Feb 2025 12:43:44 -0500
Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <adobriyan@HIDDEN>)
 id 1teHWw-0005Sl-Qv
 for bug-coreutils@HIDDEN; Sat, 01 Feb 2025 12:43:44 -0500
Received: by mail-wm1-x336.google.com with SMTP id
 5b1f17b1804b1-4361dc6322fso20799995e9.3
 for <bug-coreutils@HIDDEN>; Sat, 01 Feb 2025 09:43:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738431820; x=1739036620; darn=gnu.org;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :from:to:cc:subject:date:message-id:reply-to;
 bh=TSE6vphFaxoZueEceNQzE+VQ9rIK0OtSdVsBYKUh4r8=;
 b=dxszmx2/ka2fArA5oJTwEsweqL2wI+EQppWWyqg+MFXyy6GjcDQaWrjRI+FLbUqbW6
 Layqik4s17VZJ4Cp7DXq7FwXv9b1rsHgwkGoQhM8KQnytFZjYrI0zKokHCxCg6crrJMu
 J1ZMtvzAV7asUBe/940FjYNIUErZfwKxuk1keYKx7vxgM8pt60kwS459yXFiCZdfUu00
 43Mb2BvZrl+rwUSO0eknFXKq/buTQBQQ0Njh7Fh98VADDVDx1FZbiJ4PhxPK3Oq8cwVN
 mlbXcchYzthNY5JIcBm/CZcNdSQ2QD9tDlPy/vR/534DYquC4kAxBuTonNqw29dEPynb
 Irsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738431820; x=1739036620;
 h=content-disposition:mime-version:message-id:subject:to:from:date
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=TSE6vphFaxoZueEceNQzE+VQ9rIK0OtSdVsBYKUh4r8=;
 b=P27/c4m1UuSrqu1Uqc3rWoIp/+RYnUkgXo+sLVBKP4iSpn7dJJjSNx7XoX2FAxeYz6
 UxWLe5pvkI5cbAxrP4UQ+0SZMH32b+PGNGloTCTWjPrQDJwA8vqJZLBZnTK7Yt4Mr3Gv
 ik4oAKOsjxKOQIDgIyYdUNtHUuZpnw2f00rC+EGSw+ljX3uEgEm4VfAq4jXZwRt9q5sp
 dSA1hUvap7ld4z46FWmFgjA7vYRXnD4+Kn+q/An6vY5ciush08gJgabzpz1JVuSCHcQ+
 T7KNZiLjtPvy/8l+1mrtnhljg9vMAnes7CmnSnevuJSTzw7rmdWgthF/WbYTHP85GHKA
 JgLw==
X-Gm-Message-State: AOJu0YyWZRi+IGdO2RUVHjja8JP0mc45kzzh+T15UU+cHQjzKMH2Dore
 h0P8tl+vRTdRCV1sqWiSLgQabFBodu86ekYWUD+0FlruIFMOj35HMb9l
X-Gm-Gg: ASbGncvPgVkfEfEdQJGc84H+XkOioWeeJOMuCh8h+C55e5OnOERgI6Hv/vyFHnbvCS3
 ok1yCdGyWZxLH3qf58iJSisCzteqG9vt/lhuBgYKQllcw9jFYuYtj/LKhu689+YgZpCpWrc3dOx
 sD1LyrY8JJf7LaLJJDA0zmD51cdrZh6IFayUA8giy1ZEz4dixzWYuAN4C0jmSIZgIB24q3aKFos
 jjkQjeHH+8DICqs0xxi9/GtTYmYEExWagaXKpN3hYGxxPRelfWsBfhkBj3qw2BOxOlT1LAnmINe
 4Q==
X-Google-Smtp-Source: AGHT+IG4ciYvL9qetCeP94+KXJGaqUQxH28Crbf2dbBWwdEWCuCFpnvHO//bHdckMYIPw6Tb2NqOGw==
X-Received: by 2002:a05:600c:4511:b0:434:a239:d2fe with SMTP id
 5b1f17b1804b1-438dc4294a5mr115149385e9.28.1738431819706; 
 Sat, 01 Feb 2025 09:43:39 -0800 (PST)
Received: from p183 ([46.53.253.11]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-438e23d42c7sm95799305e9.3.2025.02.01.09.43.38
 for <bug-coreutils@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 01 Feb 2025 09:43:39 -0800 (PST)
Date: Sat, 1 Feb 2025 20:43:37 +0300
From: Alexey Dobriyan <adobriyan@HIDDEN>
Message-ID: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Received-SPF: pass client-ip=2a00:1450:4864:20::336;
 envelope-from=adobriyan@HIDDEN; helo=mail-wm1-x336.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Mailman-Approved-At: Sat, 01 Feb 2025 12:44:44 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

coreutils 9.3, 9.5

Steps to reproduce:

	# 21 digits
	$ seq 111111111111111111111 1 111111111111111111113
	111111111111111111111
	111111111111111111112
	111111111111111111113

	$ seq -w 111111111111111111111 1 111111111111111111113
	111111111111111111112	# what?
	111111111111111111112
	111111111111111111112
	111111111111111111112




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Alexey Dobriyan <adobriyan@HIDDEN>
Subject: bug#75994: Acknowledgement ("seq -w" is broken for large enough
 numbers)
Message-ID: <handler.75994.B.173843188512038.ack <at> debbugs.gnu.org>
References: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
X-Gnu-PR-Message: ack 75994
X-Gnu-PR-Package: coreutils
Reply-To: 75994 <at> debbugs.gnu.org
Date: Sat, 01 Feb 2025 17:45:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 75994 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
75994: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75994
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75994: "seq -w" is broken for large enough numbers
Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 01 Feb 2025 20:02:01 +0000
Resent-Message-ID: <handler.75994.B75994.173844009015947 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75994
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Alexey Dobriyan <adobriyan@HIDDEN>, 75994 <at> debbugs.gnu.org
Received: via spool by 75994-submit <at> debbugs.gnu.org id=B75994.173844009015947
          (code B ref 75994); Sat, 01 Feb 2025 20:02:01 +0000
Received: (at 75994) by debbugs.gnu.org; 1 Feb 2025 20:01:30 +0000
Received: from localhost ([127.0.0.1]:60099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1teJgH-000499-P5
	for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 15:01:30 -0500
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:56740)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <pixelbeat@HIDDEN>)
 id 1teJgF-00048u-3L
 for 75994 <at> debbugs.gnu.org; Sat, 01 Feb 2025 15:01:27 -0500
Received: by mail-wr1-x434.google.com with SMTP id
 ffacd0b85a97d-385ddcfc97bso2440486f8f.1
 for <75994 <at> debbugs.gnu.org>; Sat, 01 Feb 2025 12:01:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738440081; x=1739044881; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:from:to:cc:subject:date:message-id:reply-to;
 bh=m1PVAdQREiFiwI7WNwqhhQmhtcrtzC6Y5UVJ1O1SDvE=;
 b=DbY29muSm0orC76FEKGwlewaMSUvcnqAJ0X9OwZqRKdbtDR4QtfXpOG9YfguARLf7C
 syUi+w14/A/N1+1aRFA+XLI8OJMhyq2iHHxxPRNf0tA5oLxryTTp1up5x/eq6O7zTika
 yXL71YLLXUVEOARDejP09t/WgSXUdF5ofiHqKoMOC/Zqs6dd1/Ugq9LkuoGScIPNccpZ
 8pa18skj6QEVZPDX+Rk6UbTx4ZL0wSsGsxJN10x1chzXwpZCMmsPa4HNYd+GHxpXCdps
 fyet8vgw4isPn02MsgIsLlSfAwR2MMh3cUXj1TCPqXRKtiuWeXbIBRAuunvVZHiCjN6L
 TFrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738440081; x=1739044881;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :sender:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=m1PVAdQREiFiwI7WNwqhhQmhtcrtzC6Y5UVJ1O1SDvE=;
 b=Aov/gbYQA06zg5+5u0svw0hTkX+zhAcRheb8kW8lfv5BRxc2npcaKbDOkoSsUUSdow
 7PGKoQQ83buKnJga86BlRwPaYNHI6vRdzPSOW/2o9muE7bu8q+EV0/M/sMJhiVQHFo0W
 Cr+JBrU5lP8J8lOzwm3uLKdf0huOxJUaETbAbgkf4gjXZQPCHySLjy8DG9agsNcI4uoZ
 vYO7sB9j5TgmiabnFyKH5VglWN1O12Vaeo/HqMBDjU9MY0VxZLPd6rT6P59swHkKMYtL
 A0lvSW+Fkf3LCR/zhc8jGVx2kho3hHtdidaQzTpfxe14OC3U0ntpJra0jhD4XZsqTbqS
 w7XQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCV6fA5uwfb6Xzyium2Pn7LVYz9GwIaEfoF08LE4wySpqm9uylylI6TbEVsJVcvHvVrgRuvaHw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwNy0wWg1W+5nembKHf1TS6O3peel9a2UkqJcBr8h+dKrKuTWWz
 DTBhw41R1Qyz/Lt1pYFBPE3N+74iKFBsDyVv2iZeiwtjXeBkkih2
X-Gm-Gg: ASbGncsz/xGsymt29nZmrTLAiBQjo1tvnaeNRZM2HmEdAcu4DYlhvIi6lGEO1q8Jbqk
 B1t5Awnnn9xMJ26nLJysLW+dN7xJVkXF4aeERUjG4u7DrDXQsTwYXL+V0bpWkKqCaPGzfATV9ki
 gNusDKcagps0XWbphC/W/yb2nI1Zr6vbw6ql9f+qZdPJXLBTklwlxvX/kdJ04PkhIDjNg66bov5
 lecgMLvf/Xh9Cw2r/7c7yEKyihTtRL1Pf1EJ2bcN+7X32QYt88kHlGlGn9aCOhVhtm02phsZhtc
 D62edJVvXja1ITFxNvDsNCi3qREFsKyC5DTYNvga54wOfENI28v/tFm/c28Us3gj4AG12MQ=
X-Google-Smtp-Source: AGHT+IFsdj6OETy/PhC97r6l03LhylPX6WYKkGu1vDwdMBNyE8UVZx+3OUMv0oycjAB6qpMwykRpdQ==
X-Received: by 2002:a05:6000:1886:b0:386:3082:ee2d with SMTP id
 ffacd0b85a97d-38c520904c9mr13590288f8f.41.1738440080462; 
 Sat, 01 Feb 2025 12:01:20 -0800 (PST)
Received: from [192.168.1.31]
 (86-44-211-146-dynamic.agg2.lod.rsl-rtd.eircom.net. [86.44.211.146])
 by smtp.googlemail.com with ESMTPSA id
 ffacd0b85a97d-38c5c102bccsm7939001f8f.27.2025.02.01.12.01.18
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 01 Feb 2025 12:01:19 -0800 (PST)
Message-ID: <1a81e85d-1be0-489e-8ef1-12d2f6126b38@HIDDEN>
Date: Sat, 1 Feb 2025 20:01:18 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
References: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
Content-Language: en-US
From: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
In-Reply-To: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 01/02/2025 17:43, Alexey Dobriyan wrote:
> coreutils 9.3, 9.5
> 
> Steps to reproduce:
> 
> 	# 21 digits
> 	$ seq 111111111111111111111 1 111111111111111111113
> 	111111111111111111111
> 	111111111111111111112
> 	111111111111111111113

With no -w, seq doesn't use floating point
and instead operates on the ASCII values directly.

> 
> 	$ seq -w 111111111111111111111 1 111111111111111111113
> 	111111111111111111112	# what?
> 	111111111111111111112
> 	111111111111111111112
> 	111111111111111111112


With -w seq will use long doubles internally,
which usually have a 64 bit significand.
I.e. once you go above 2^64, you get approximations of integers.

Now we could adjust seq to use the "ASCII" increment method
in this case by handling leading zeros appropriately.
It would be good to know your use case here though,
as to know how common this issue might be.

cheers,
Pádraig




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75994: "seq -w" is broken for large enough numbers
Resent-From: Alexey Dobriyan <adobriyan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 01 Feb 2025 21:23:03 +0000
Resent-Message-ID: <handler.75994.B75994.17384449379568 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75994
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>
Cc: 75994 <at> debbugs.gnu.org
Received: via spool by 75994-submit <at> debbugs.gnu.org id=B75994.17384449379568
          (code B ref 75994); Sat, 01 Feb 2025 21:23:03 +0000
Received: (at 75994) by debbugs.gnu.org; 1 Feb 2025 21:22:17 +0000
Received: from localhost ([127.0.0.1]:60267 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1teKwS-0002UA-Cn
	for submit <at> debbugs.gnu.org; Sat, 01 Feb 2025 16:22:16 -0500
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:52591)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <adobriyan@HIDDEN>)
 id 1teKCO-0005go-Pq
 for 75994 <at> debbugs.gnu.org; Sat, 01 Feb 2025 15:34:41 -0500
Received: by mail-wm1-x333.google.com with SMTP id
 5b1f17b1804b1-436341f575fso36509735e9.1
 for <75994 <at> debbugs.gnu.org>; Sat, 01 Feb 2025 12:34:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1738442074; x=1739046874; darn=debbugs.gnu.org;
 h=in-reply-to:content-transfer-encoding:content-disposition
 :mime-version:references:message-id:subject:cc:to:from:date:from:to
 :cc:subject:date:message-id:reply-to;
 bh=WP3N+jbOq1O3rcX+Ybeifhz+Zshw0Nj2R3fDsK/H7fE=;
 b=UR9Q6JB/MWnVtOXeYiRI57orxXrSl1mdNZhNUeJRrH26nA976GMV1ti039uPfcnEEU
 PDeKQLnsrtxJLJSfzfwnQckj6GaBiPUrfuU1Jk651XQXQxpjVAcxwYMGIsBxys38Km4S
 zlHu2IbX8HzojEHPjxPqmkpadPbi44X4UnmxrIVf/4uVfRF+ZwJ8yTw6mCrNdAExBdQo
 gptMWKKK7NDODtLY/CgRhJhwNgetb5JOC5jOyBcwsXY9SEEqfioZ+qm/lOZFb3dltjTe
 terK7D93cTLvjFqwbP5ZKoeTQCCVEGQmNK07W5Xp290zo2MuPPfZVXF4eeexkyV3NEvO
 yq+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1738442074; x=1739046874;
 h=in-reply-to:content-transfer-encoding:content-disposition
 :mime-version:references:message-id:subject:cc:to:from:date
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=WP3N+jbOq1O3rcX+Ybeifhz+Zshw0Nj2R3fDsK/H7fE=;
 b=aFVShFrEHZPhX6dvUWj6Z2T0V0JrTsQHTjk1+2tzAIhT7mAQKPfH38Cug4i7qYGQka
 ZGIkV3BT7oI9j7VcLaX62O2Ds31JTDU9f3OIP2VZ50ith2xAq2Nd50jWln+yh0+vtR6J
 o4z2/TynQ534U3zhgZ+egLPmgW8ABI8oN/wgaqYejjLXEGIonmxLhPQqXipGsUyc7DTq
 ekikc8vu0wbRKC/syPhX0mDwRjggCJxoNCtSernx9TAd0rdOkbyzj4i9/g3KXVOaHF97
 PFkAUqcA8IGh0oIvlvU5w6ylG5yvCquW9j1PDx9+6Z7qkGKL7aU4X+PP4oTMymrld7wp
 4s3Q==
X-Gm-Message-State: AOJu0YyjQpHHSiIzc/peMmHNuT2w37diwD92CAHG+y+lGOJ4YlhUnI/K
 cJFNT07u67uw+R8h1g0Lo7ij7hg9VGjTOxiedKlaJPZGTJDootk=
X-Gm-Gg: ASbGncuPiu2s0BKfJHpNLt20Ug97oH5hNpkdCnLf0e7qq9zbzDeftZL7j/A0mafmBkq
 LYweSRCreeaQuNYrj2P6j5J0CePMjB2vdK8KkEbPNfhg9/ro1HMOJpnj/F4mg8RCiQo8H2SAEyX
 J3NWfMU3/JsWHK2X+DDWccAENVJuaq/54kbt2gC/jwXgbyp0ps2AycsYR3+fMY/X8OrKu3pzDtf
 iXLETHILynsupK6et54kcBcteMwCzn+m7nZ8s1Pj8GkcuE4oUNoBl9Nw7yWoAZx1SwXvX51lWnW
 eA==
X-Google-Smtp-Source: AGHT+IHBEuCC8N6FJ64QTP429D4Q1EvDon7fykVG2kH+z7X1buXnBQbsOwG9VTfHp1XEEIJbt8595w==
X-Received: by 2002:a05:600c:19cc:b0:434:fddf:5c0c with SMTP id
 5b1f17b1804b1-438e298fea7mr111319595e9.4.1738442074283; 
 Sat, 01 Feb 2025 12:34:34 -0800 (PST)
Received: from p183 ([46.53.253.11]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-38c5c122465sm8114862f8f.47.2025.02.01.12.34.33
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 01 Feb 2025 12:34:33 -0800 (PST)
Date: Sat, 1 Feb 2025 23:34:31 +0300
From: Alexey Dobriyan <adobriyan@HIDDEN>
Message-ID: <21378d49-0202-4427-9d02-e7eae6be5ecb@p183>
References: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
 <1a81e85d-1be0-489e-8ef1-12d2f6126b38@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <1a81e85d-1be0-489e-8ef1-12d2f6126b38@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Mailman-Approved-At: Sat, 01 Feb 2025 16:22:14 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Sat, Feb 01, 2025 at 08:01:18PM +0000, Pádraig Brady wrote:
> With -w seq will use long doubles internally,
> which usually have a 64 bit significand.
> I.e. once you go above 2^64, you get approximations of integers.
> 
> Now we could adjust seq to use the "ASCII" increment method
> in this case by handling leading zeros appropriately.
> It would be good to know your use case here though,
> as to know how common this issue might be.

The usecase is using GNU seq as reference implementation. :^)

I'd do decimal fixed point. Given that seq only does addition
it won't be that bad.




Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#75994: "seq -w" is broken for large enough numbers
Resent-From: Paul Eggert <eggert@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sun, 02 Feb 2025 07:29:01 +0000
Resent-Message-ID: <handler.75994.B75994.1738481311954 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 75994
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: Alexey Dobriyan <adobriyan@HIDDEN>
Cc: =?UTF-8?Q?P=C3=A1draig?= Brady <P@HIDDEN>, 75994 <at> debbugs.gnu.org
Received: via spool by 75994-submit <at> debbugs.gnu.org id=B75994.1738481311954
          (code B ref 75994); Sun, 02 Feb 2025 07:29:01 +0000
Received: (at 75994) by debbugs.gnu.org; 2 Feb 2025 07:28:31 +0000
Received: from localhost ([127.0.0.1]:32929 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1teUP9-0000FK-GR
	for submit <at> debbugs.gnu.org; Sun, 02 Feb 2025 02:28:31 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66]:35352)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1teUP7-0000F3-7G
 for 75994 <at> debbugs.gnu.org; Sun, 02 Feb 2025 02:28:30 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id D1A9E3C00D403;
 Sat,  1 Feb 2025 23:28:22 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id O2ZVbPqVNx-F; Sat,  1 Feb 2025 23:28:22 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 91AD23C00D406;
 Sat,  1 Feb 2025 23:28:22 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 91AD23C00D406
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1738481302;
 bh=UXNqQz8beLBXDbA9oGMi9yMmnIhDlvxSP5w/y+GVrAg=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=Kg9WFIZ+LM+oEywZZB9zQWP7P9QyO2WbbwXqYM8dSExBlxOWqxaz2rw7nRgMDZnwK
 NIEB583yQaZsK5XaiK1MSSSf4BKdSh2WnBk7aqOzo3jvlqfPXUG7XuG0xJheU/FfIc
 qQ+B3JRrW1ywA/0TEqTcCOC4Xqmm4AghOorFU/yfNWpsK9GzYATIuL45ty6Xnc5DB5
 RBs44mxOQvlfoJKW2KEa2EYNv+ALjNklrY6Cmqeuu081ZquqFGeI+3XSTseENr5E2M
 ca2/nPR7Ex5CvDAgxqbPJXsZ4fhBD4NhLYTej3PAzo5lyw7LY1V9FHfHwUrz0HNCCv
 +EEqwiBEKC6Gg==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id 44ilaj4mLJyW; Sat,  1 Feb 2025 23:28:22 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.154.28.214])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id 75A383C00D403;
 Sat,  1 Feb 2025 23:28:22 -0800 (PST)
Message-ID: <2fa22721-6078-440c-a8ea-fac75bfb6da4@HIDDEN>
Date: Sat, 1 Feb 2025 23:28:21 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <e0bf6e6c-aa37-46a3-8602-01b2282dd276@p183>
 <1a81e85d-1be0-489e-8ef1-12d2f6126b38@HIDDEN>
 <21378d49-0202-4427-9d02-e7eae6be5ecb@p183>
Content-Language: en-US
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
In-Reply-To: <21378d49-0202-4427-9d02-e7eae6be5ecb@p183>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2025-02-01 12:34, Alexey Dobriyan wrote:
> I'd do decimal fixed point.

Patches along those lines would be welcome, I expect.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 16 Feb 2025 06:58:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 16 01:58:51 2025
Received: from localhost ([127.0.0.1]:59698 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tjYc6-0000Xc-Mw
	for submit <at> debbugs.gnu.org; Sun, 16 Feb 2025 01:58:50 -0500
Received: from mail.cs.ucla.edu ([131.179.128.66]:41272)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eggert@HIDDEN>)
 id 1tjYc4-0000XJ-AU
 for control <at> debbugs.gnu.org; Sun, 16 Feb 2025 01:58:48 -0500
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id B42513C00E415
 for <control <at> debbugs.gnu.org>; Sat, 15 Feb 2025 22:58:42 -0800 (PST)
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP
 id UNS52wPzlaiO for <control <at> debbugs.gnu.org>;
 Sat, 15 Feb 2025 22:58:42 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by mail.cs.ucla.edu (Postfix) with ESMTP id 544723C00E41C
 for <control <at> debbugs.gnu.org>; Sat, 15 Feb 2025 22:58:42 -0800 (PST)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 544723C00E41C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu;
 s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1739689122;
 bh=SVQ/gcc45eTT73KzgPWfKuaPFT5aSqflTr9MAI/aVS4=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=JrHvtUHs1RtuxZXmG+lLRj13bunbeqow9OFro+5oQ674s/0BCvwQYfYgcCW2XGicG
 dSFFQGOAFFbejXGkXm+HWSOSbV4DV38Bbs9pORQXY/L+Hd0LOs65r7OdXmHZzd7e21
 23rceNiZYqeYumYcpdmFkuGGUW9Zu5tUW2WL8FWabXYRNyPzqF+HDiu6l307k91U7W
 OL0ET+MgmpFbAIT7BbbjHuVM7nzPcwSZRc1jt3hQ35NwJcZeI0yDnTs8YdlPhiFuut
 ybX4H09imLgTFYBXEurk8qMwBA3+2NuYnEYGjLeaqIIluWPhXIUM8+xDICuwwnKA2R
 oK3L7NDIeKwug==
X-Virus-Scanned: amavis at mail.cs.ucla.edu
Received: from mail.cs.ucla.edu ([127.0.0.1])
 by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP
 id w3IJTT58v7eV for <control <at> debbugs.gnu.org>;
 Sat, 15 Feb 2025 22:58:42 -0800 (PST)
Received: from [192.168.254.12] (unknown [47.147.225.25])
 by mail.cs.ucla.edu (Postfix) with ESMTPSA id 3C6763C00E415
 for <control <at> debbugs.gnu.org>; Sat, 15 Feb 2025 22:58:42 -0800 (PST)
Message-ID: <d3313a51-ea4c-4bd1-ae8b-ef173a233eb9@HIDDEN>
Date: Sat, 15 Feb 2025 22:58:42 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: control <at> debbugs.gnu.org
From: Paul Eggert <eggert@HIDDEN>
Subject: coreutils bug maintenance
Organization: UCLA Computer Science Department
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 76060 wishlist
severity 75994 wishlist
severity 75649 wishlist
severity 73510 wishlist
severity 73331 wishlist
severity 71307 wishlist
severity 73784 wishlist
tags 73194 notabug
close 74194
close 73194
close 73134
close 72756
severity 72024 wishlist
tags 71895 moreinfo unreproducible
tags 69636 notabug
close 69636
severity 69368 wishlist






Last modified: Sun, 16 Feb 2025 07:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.