From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: What is 0.01 here not 0.01 here 0.009999999999999? Date: Sat, 03 Apr 2021 05:56:01 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 03 06:11:43 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lSXdO-00068s-V3 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Apr 2021 06:11:43 +0200 Original-Received: from localhost ([::1]:37584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSXdN-0007qw-SA for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Apr 2021 00:11:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSXd0-0007qq-2b for help-gnu-emacs@gnu.org; Sat, 03 Apr 2021 00:11:18 -0400 Original-Received: from mail-vi1eur05olkn2094.outbound.protection.outlook.com ([40.92.90.94]:15296 helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSXct-0000uC-CZ for help-gnu-emacs@gnu.org; Sat, 03 Apr 2021 00:11:17 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UwHyQWS9J5REGoxzL4WUqstPQcrP0qZ+XUa7AclEACt0GNwBueKYm0sKepfdxXXn6NLMPPVNsE0ZfrpioN0K9vs2310ky7hQG/IIRzNWC0TXsygccCOEJBGQQjABqBnbdK76LHyoCkBb2BLDe0LXzBdeYasTNkuQVXzsY4E8ZvoUbm6uDpVt1ZtviRmDRUNwfMPJjYtC4SMWpYEK2q/hd/ZhljZBYxnJJaOhhXZv6HlgUoD9a/Dqj78DYHhMjeXtJWmGydVsfYodx3/jqEKE/VJ0TX4HeHPAfMJrvsjBrvpAqgCRDxPsKI2p1vRsEWGc0xYAGCecNgI9gtxKYYn+Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+ovXcUVh+gsfPZG5x7Py2ArNEixut9kDQYBvdUDgDZs=; b=i9yKejPZRbsmKXBM9wZ9yiuNzs3Z5Hs46EsGdFoI5jfa9JFmY78+/ZDWG6zEOW1Qnk1gz/Tu4j9sNqOpU4SNFsK6Ns/TAFCRXZuROJTcKMRXx5RD7F7Q93NlWc1pAX9QETSl9WmscvF4y5KzsWYmmkqbt/NZGPyqHUHhizpqsyyXR8qoMexv+MqEPTWjmsCuiGxMH1xace8+yjx7JlL0V7a6hFOWYIJSH/axE3yFK8rb+BYIrJwiMksVnqf1hpzWGtYop13Wn3NPp8GPxmbuP3+3QVqmOal511yHB4azeXCplX+gC4RW1Mw9P8UGBDw2HFsb2ZQ0/T5zdw/U4gYA1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+ovXcUVh+gsfPZG5x7Py2ArNEixut9kDQYBvdUDgDZs=; b=q8ValXJsyN3CSGyOWqeWrgS+8g0Hob55jlrPoUCGRNUGEwUa80mCqVz83Y6VP8V+hsR9BDG0lr4n9upemivdzfQQezlDIlpM8WuYM4EhhoQpFXX3pigbx6G3c4pB5gVma29skfZtW7g8CWt+22L0ygQEi/8z0D/AwlyN+vW8mCzltGnuTiApKTcAM8vH/haFS2Yg7j4gY603VtdFU9BHmwNx4HT1a0KLe8iSlyHzA5bgHhDioBNlxeN6KehTqCprdf8LxeK7pIKkhPH+e2gEbf0w+BEBgIXQojsBi1jMvG3HvyoHbHd1L++wwottNU7W2Z/jdhsaFXS666RvrOnPOA== Original-Received: from VI1EUR05FT029.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::42) by VI1EUR05HT199.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::288) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Sat, 3 Apr 2021 03:56:04 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:fc12::42) by VI1EUR05FT029.mail.protection.outlook.com (2a01:111:e400:fc12::382) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28 via Frontend Transport; Sat, 3 Apr 2021 03:56:04 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:54DC780478B59E5DDE48229DB366568A6BF5C6C21F53834A1B3003CED170BBD7; UpperCasedChecksum:D7DE349026A0CC2B570C36F51924D046EF3AC269CE71796487BBDB0AF6AC2F1D; SizeAsReceived:7494; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::2103:e705:bc0c:5a8b%6]) with mapi id 15.20.3999.032; Sat, 3 Apr 2021 03:56:04 +0000 In-Reply-To: (Jean Louis's message of "Fri, 2 Apr 2021 20:03:54 +0300") X-TMN: [OHpPJkECSIMWPIIjwO3s+Nwc51LysgBB] X-ClientProxiedBy: AM5PR0601CA0060.eurprd06.prod.outlook.com (2603:10a6:206::25) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <82eefsuilq.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from HP-Laptop.homepc (81.232.177.30) by AM5PR0601CA0060.eurprd06.prod.outlook.com (2603:10a6:206::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Sat, 3 Apr 2021 03:56:03 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 279bd25d-5d54-4cc3-16e2-08d8f65466ee X-MS-TrafficTypeDiagnostic: VI1EUR05HT199: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rMNT6rllgXcvMNjkl/zn+xHFCoW8I2rFGvt+HoDeLysvKvR92mACSm/f8oPWpjZklD5M0wzAZrJPFCUpJKJC99t9RPePGVJTczIbopH9dZsfhVXERGxmNdmW0vf3tyUUaIdVTvbcV8QRRY8bXG1gcKDp9sXJFEC9J4Nkc9R6yD2aG25RoXSOr5HDK/SdoRlosaINY4KKgKUWQdSq/f9rWpGw2YYzEHCxplgDqjTJOfqcx6Os+xD+mV/QSr2+CBgwbxm+UMyfHkLD38JN9F15BJ2fqyRYXUUYgW8pavMfqbUY3yf4aohIPick++z3BcaRbXrCOrIDP8fEMJwKmInQ1XZngFbNHE4/HdeP4ra514V7BLlJxwTBf7Gg5cW1yb9B X-MS-Exchange-AntiSpam-MessageData: 5xGKrfhif2J3wGchiRGapt0nZoImJBxsgs0cHC6zb6/KSgTzgp+IXv65t7c3FgWOh8yyPDKVZplwUk4LIWhy9mCqv0k/dDz0a4Aj+09GdRBn2ks4MnGLrRfJBVP3er9SnC9D7FDaIt0g48iV1oEifA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 279bd25d-5d54-4cc3-16e2-08d8f65466ee X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2021 03:56:04.0815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VI1EUR05FT029.eop-eur05.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT199 Received-SPF: pass client-ip=40.92.90.94; envelope-from=arthur.miller@live.com; helo=EUR05-VI1-obe.outbound.protection.outlook.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128829 Archived-At: Jean Louis writes: > results with 10.12 and not something else. Results are used for > automated version numbers (in some cases). Don't use floating points for version number. Use integers, One for each number: major, minor and revision. You can either defvar them each or use a vector or a list. You can them just simply increment the part you need in your revision control and use (format "%s.%s.%s" major minor revions) to print them to a string.