From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6L/YOI3l2WW0fwEA62LTzQ:P1 (envelope-from ) for ; Sat, 24 Feb 2024 13:48:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6L/YOI3l2WW0fwEA62LTzQ (envelope-from ) for ; Sat, 24 Feb 2024 13:48:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q0t9EEO5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708778893; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=JZ07TGoVrrnTbTLnDE8gGqn2f+1mm8rRlNwSwxagKJ0=; b=LmHqWqKT2RBRLJ6BQOnjDOymqn8w9xYLUktocCH9VaydI2eLN+FALmxYG6ZeX6Th6cF3xN TzdT2+Z23lpxyJd0Uia8dJ8aNotJY2dSqEdIo0/wazNIeOw80TV6vPxb6QlhnDNzFPeL4X XXQbC9Gmht7mp/HVqEEH+NDFbJZLgHpTwMrcWLzfhWL2mjTtlSXTdDeZRcdPHTbCD36m+T e7GdO1RQVvEFDP8sX8cng/VAj1X14I9hRmLFmUfeczATio7v5n8PFHTb/uBu+2FTiCrMwF nIA6pwaxtWwes6lzJzJo3u9FOI13QdkrGpbBS6i1nHsGdkb4XCDKdGU/svQz7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Q0t9EEO5; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708778893; a=rsa-sha256; cv=none; b=pq4E+wu8RX6Ho85BaFboy4FLZpzH9Tz1Qcwmh83u6eJKtCS4cWePZA+fhYqZL7N+kun5/A UWyHhvAW70RuQCpQGHP1ynAUrniQPu0vrKzZM97zLwQX6vQDhplCI9c6SjzS2qvrSLQx0X g0NYWjBZX8YEMJ8Mhx7+3+/7yQ0n8pTB3VdwwAnGg9lEDdlQfN8a1PsxbRfujgekRHHjbB I3zipSqVH/Y/f61JuPvc7fmP+psri+H/ookVUtfdLRHRB2vczWq6HenzBGnmf5IkZPN236 bb2DU1jjOH49aYzgXLdQhYixEZVcKcIkB+X3hmdfIUlRAE2X2PvtBuOjj5bRRA== 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 929AD120F1 for ; Sat, 24 Feb 2024 13:48:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdrRO-0001M5-7H; Sat, 24 Feb 2024 07:47:42 -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 ) id 1rdrRM-0001Kq-DS for guix-patches@gnu.org; Sat, 24 Feb 2024 07:47:40 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdrRK-0007YH-IK for guix-patches@gnu.org; Sat, 24 Feb 2024 07:47:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdrRi-0005D3-Dt for guix-patches@gnu.org; Sat, 24 Feb 2024 07:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69352] [PATCH 01/13] gnu: Add wide-integer. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Feb 2024 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69352 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69352@debbugs.gnu.org Received: via spool by 69352-submit@debbugs.gnu.org id=B69352.170877882719744 (code B ref 69352); Sat, 24 Feb 2024 12:48:02 +0000 Received: (at 69352) by debbugs.gnu.org; 24 Feb 2024 12:47:07 +0000 Received: from localhost ([127.0.0.1]:53678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdrQp-00058H-Dj for submit@debbugs.gnu.org; Sat, 24 Feb 2024 07:47:07 -0500 Received: from mail-lj1-f171.google.com ([209.85.208.171]:57391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdrQo-00057S-5c for 69352@debbugs.gnu.org; Sat, 24 Feb 2024 07:47:06 -0500 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d22b8c6e0dso13852511fa.2 for <69352@debbugs.gnu.org>; Sat, 24 Feb 2024 04:46:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708778736; x=1709383536; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=JZ07TGoVrrnTbTLnDE8gGqn2f+1mm8rRlNwSwxagKJ0=; b=Q0t9EEO5pAoVH2ffUcIc48pI6OjvPaC12/fmXKns10psSUwHMARQSnTDwImMwuS35z 70l+IfuNbe9BvB8jjJeUCGXy3HTkvDFT+s1ZkH1sBYUuGh5U1a0J6gyXtJ5vHCikB+3t GaMUZKLQt8C/9iixD5IlECG2Sw1lO63cflC/xlr22KBaHo60F5pMqnzXbGRW+yjFUvvj 3cvwFS9boF40kTGVKpHxsQJK2lXhqTekLON1m7M+woMT5cMcTmABaM/pb8PAFoGTaI7s CZzXRivGd3YEDQcykCmz6G2n2m8XB1oTWQEKoG4zIP5eEHCB52whURDXeNP0NJVSFmPO aaUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708778736; x=1709383536; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JZ07TGoVrrnTbTLnDE8gGqn2f+1mm8rRlNwSwxagKJ0=; b=qoSQa6EPkec21F59rzirYPcfBwStnxll8CavgI/ZEVyow9WHyjcI00JJI2uAKzrXeI N5/EhqGZZkQxYRgK+Pjy0O7xsT/taYeZjUb2RqXriwtdLKASuT2zVzr/nTTUzMj4m46k OFxoBcNtHhIZPb9GxjkenB1tAIyAcS00881GLHC1gCbKTs1qY8jj/Fm1eMxDXOjBRVgS gqV1eH4vRzvYjZU4mTzVHhQEbtBJPuNTw5HIhujczpTSZwd03nJNsI2P4t5wbyLik5pU ibu7OoP9GkTuPiWkAdXQvTfdW3xqPQwIgmReSFGqhGxA5r4MqL1O/ia+ld9CGV1dbgyB eiaw== X-Gm-Message-State: AOJu0Yy/gXEnQ/jarF7Lf9ZaqAJOs88cpJbUZzTepTxvv36nyJKXuXtL YZoEm+9nPeKf2f7KUC3uqDt0ZKtlzsgHah+Nbbr6+qWu+vJPUyqkt8DOhmlZ X-Google-Smtp-Source: AGHT+IHgkgSAbNqJGhmbx7DPiyf+4dbK9k3r9TkKc0kdJv2M9G2sihDbCNSNhscf5xWHhrzCQ0q49A== X-Received: by 2002:a2e:914b:0:b0:2d2:3030:bfa5 with SMTP id q11-20020a2e914b000000b002d23030bfa5mr968889ljg.45.1708778735894; Sat, 24 Feb 2024 04:45:35 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id lf6-20020a170906ae4600b00a3d12d84cffsm551900ejb.167.2024.02.24.04.45.35 for <69352@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 04:45:35 -0800 (PST) Message-ID: <0bd819c52f78fcc59848438a6fd743a6805e9c5d.1708771294.git.liliana.prikler@gmail.com> In-Reply-To: References: From: Liliana Marie Prikler Date: Sat, 24 Feb 2024 07:56:54 +0100 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.73 X-Spam-Score: 2.73 X-Migadu-Queue-Id: 929AD120F1 X-TUID: XVp9YvoIM20n * gnu/packages/cpp.scm (wide-integer): New variable. --- gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index e530d1d2a8..64816b7400 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2703,6 +2703,37 @@ (define-public safeint 64-bit integers.") (license license:expat))) +(define-public wide-integer + (let ((commit "22b8428746248e682d5276f8e8b7fb52af73ea47") + (revision "1314")) ; commit count + (package + (name "wide-integer") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ckormanyos/wide-integer") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0bhjnbdcphv5kddddh8kpwjpjix23m12vmfsz0r6wjc5d27md33z")) + (modules '((guix build utils))) + (snippet #~(substitute* "CMakeLists.txt" + (("WideIntegerTargets") "wide-integer-targets") + (("WideIntegerConfig") "wide-integer-config") + (("WideInteger") "wide-integer"))))) + (build-system cmake-build-system) + (native-inputs (list boost)) + (home-page "https://github.com/ckormanyos/wide-integer") + (synopsis "C++ template for arbitrary-precision integers") + (description "This package implements a generic template for extended +width signed and unsigned integral types. Up to 63 limbs of any built-in +integer type are supported, and can be used to build powers of two like +int128_t, uint256_t, but also somewhat esoteric types such as int24_t, +uint80_t, or uint1536_t. The provided types can be used in much the same +way as basic integer types.") + (license license:boost1.0)))) + (define-public wdl ;; No tag is available. (let ((commit "da86a62d11e46e4ecd8b16f9775cb5188340a0e2") -- 2.41.0