From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iNeiJTJhF2RTBAEASxT56A (envelope-from ) for ; Sun, 19 Mar 2023 20:23:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QFuPJTJhF2SizQAA9RJhRA (envelope-from ) for ; Sun, 19 Mar 2023 20:23:30 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1FA268C90 for ; Sun, 19 Mar 2023 20:23:30 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=pka0B9d2; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679253810; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ex7qrGh18rw1z+O3IP11Gq7VUJjf3he0r0OskjCacG8=; b=cUxUstTAqEItoCJ5sSyDi0PTOQ1egH3SfIIZM9OlAOqzXsaeOyJ4tMO1Jr6Vf/nSUZT8yl v3MFqgpxNsVx1UJT3i0qFWJFDFa66PdHjqY/5MmhxR99t8KK2URuvIIbMz/nn5l/CREoLl ucFCFEKGd2y1EKZcZF+SBdluJMJ0MJiGFAVTXlMv5DyBJpI047wmMSQXl1BkoniG4t1ZDf wdoIOrDB9of0bu1ywNXYWeatBgsYkyQkof20v6noGbt1Vp1Z1ew2ix1agLXKFVLd83588k Txc1UM1QTdyH0ge3OQ8YiOshOqWWMHWarkBiXVvS4f5r+PRCv1YKlkZXqYUncw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=pka0B9d2; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679253810; a=rsa-sha256; cv=none; b=j79pHG8kWBY9KFi9i6i8rq0mvP7GwDXSTtvljsTuGq9YdSAo5A14+5CsyMrG16+Gl908zQ HSWWwyGrsUqcRslZYOidfaIRyMiK5SWr3VhyAU3parYAokT7NuCdfbwbiup+MX2q4VBO41 OrNAIVxXpgmUV6E/CZwAaAThTk4hfoAhtCQhTmgOvBfA9a97t/4cI6LGuwvTUdSfym/TFk 8WwRX1s2VOFDjb+JUFfxAvEDCIdP9PzLqpkk8Cf3aKoeJUXFv21YMQM3MKpp6GuiwS4lXN FCxCRF3DlG7aWo64SM6ubRpfr9o+W8A5fgDNq0sSfrKaz2QTKL+DNNw+Oa2ZRQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdycT-0001C8-H5; Sun, 19 Mar 2023 15:23:05 -0400 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 ) id 1pdycS-0001Br-D3 for guix-devel@gnu.org; Sun, 19 Mar 2023 15:23:04 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdycQ-00040O-Ei for guix-devel@gnu.org; Sun, 19 Mar 2023 15:23:04 -0400 Date: Sun, 19 Mar 2023 19:22:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1679253779; x=1679512979; bh=Ex7qrGh18rw1z+O3IP11Gq7VUJjf3he0r0OskjCacG8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=pka0B9d2m0HdKDYvCN+blMfEczb9dxBxfFHDMVN6XDVvjgdpX47+NNirn6r3cIBrC z73dzwSOShTMBrHhwNDuJXkFq1wFEdVdnTgZi0p2f0EQRw/dRKIYOLpZzsYMJxvCjE ujZ+TnMxYx9nQFQXBR7gg8GnwybSU0GRcHXeFjOgWSIVH/EVxFubShNl4KdB57nWYN PqCarbeEqehmsmnxqxRuHy4xEqmwaJpM/+mWTZ+a/xhIdvbbsEBTxaYVRkEpmGq99k sUSwq9D7rQAnLpg09df3N9uDcDdaEfZq6iY6f4d0zwaEg50d7T+wDmYbqbhfkmBH6V gY95xfKldJCTQ== To: Felix Lechner From: Kaelyn Cc: Andreas Enge , guix-devel@gnu.org Subject: Re: Procps in core-updates Message-ID: <7qnn6PFyX-InJ5znfYbddEfgm0MbaZVnjTQ4Q1mj9wj5lY-8khBOjAfERvHVRxAIp__NEpo_GeQnYEkNDc4S_YxJXpAv3nQR3tXFVbjh7S0=@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4316.protonmail.ch 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_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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 1FA268C90 X-Spam-Score: -10.30 X-Migadu-Spam-Score: -10.30 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: UTuX6ng/HxPY Hi Felix, ------- Original Message ------- On Sunday, March 19th, 2023 at 5:49 PM, Felix Lechner via "Development of G= NU Guix and the GNU System distribution." wrote: >=20 >=20 > Hi Andreas, >=20 > On Sat, Mar 18, 2023 at 5:33=E2=80=AFAM Andreas Enge andreas@enge.fr wrot= e: >=20 > > FAIL: strtod_nol_or_err("123") !=3D 123.000000 >=20 >=20 > Can you multiply by "1.0" to force a floating-point comparison, or > round the other side to the nearest int? Judging from the function name ("strtod_nol_or_err", which seems in line wi= th the standard "strtof"/"strtod"/"strtold" conversion functions), the func= tion returns a double value. Depending on the specific code, it could be en= countering inconsistencies comparing a double to a float (non-double) const= ant due to the difference in types' precision. Cheers, Kaelyn >=20 > Kind regards > Felix