Article View: news.software.nntp
Article #89821Re: Advertising the MAXARTNUM extension
From: Olivier Miakinen
Date: Sun, 11 Dec 2022 11:06
Date: Sun, 11 Dec 2022 11:06
42 lines
2403 bytes
2403 bytes
Hello, First, please note that I didn't read the whole discussion, so please excuse me if I say something that was said already. Le 11/12/2022 11:42, Julien ÉLIE a écrit : > > [...] > > I explain: how could you be sure that all implementations are limited to > the proposed types? > 32-bit Perl for instance can go up to signed 2^53-1 integers on systems > with double-precision floats (after that number, the integer precision > is lost). Same thing with JavaScript. > And I bet there are other languages with different possible limits. > > [...] any other type (based on powers of 3 or anything else), it will be > difficult to have implementations be updated to understand these new types. > On the contrary, numbers will always be numbers :-) I completely agree with all that. By the way, if an implementation is ready to accept numbers of 63 or 64 bits, it must know that 2^63-1 is 9223372036854775807 (and 18446744073709551615 for 2^64-1), so why not write simply : MAXARTNUM 9223372036854775807 MAXARTNUM 18446744073709551615 Same with 2^53-1, or even 3^53-1 : MAXARTNUM 9007199254740991 MAXARTNUM 19383245667680019896796722 Or, why not, 10^30 ? MAXARTNUM 1000000000000000000000000000000 Keep It Simple Stupid... -- Olivier Miakinen
Technical Details
Message-ID:
<tn4dj6$11i1$1@cabale.usenet-fr.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<D9E85xtkDAg@news.spitfire-nntp.fr> <tn3245$2mbfk$2@news.trigofacile.com> <Cmr6pS8uULc@news.spitfire-nntp.fr> <tn4c68$2nf65$3@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <tn4dj6$11i1$1@cabale.usenet-fr.net> Subject: Re: Advertising the MAXARTNUM extension Date: Sun, 11 Dec 2022 12:06:12 +0100 From: Olivier Miakinen <om+news@miakinen.net> References: <D9E85xtkDAg@news.spitfire-nntp.fr> <tn3245$2mbfk$2@news.trigofacile.com> <Cmr6pS8uULc@news.spitfire-nntp.fr> <tn4c68$2nf65$3@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: There's no cabale Lines: 42 Nntp-Posting-Host: 37.166.23.157 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: cabale.usenet-fr.net 1670756774 34369 37.166.23.157 (11 Dec 2022 11:06:14 GMT) X-Complaints-To: abuse@usenet-fr.net Nntp-Posting-Date: Sun, 11 Dec 2022 11:06:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <tn4c68$2nf65$3@news.trigofacile.com>