From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ICXYLRTgcV9ROwAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 13:07:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id COWnKRTgcV8/fgAAB5/wlQ (envelope-from ) for ; Mon, 28 Sep 2020 13:07:32 +0000 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 25FF99402AC for ; Mon, 28 Sep 2020 13:07:31 +0000 (UTC) Received: from localhost ([::1]:37950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMssM-0007xW-Rc for larch@yhetil.org; Mon, 28 Sep 2020 09:07:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMscB-0002WE-0U for emacs-orgmode@gnu.org; Mon, 28 Sep 2020 08:50:47 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:44948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMsc7-0007K1-0V for emacs-orgmode@gnu.org; Mon, 28 Sep 2020 08:50:46 -0400 Received: by mail-wr1-x42e.google.com with SMTP id s12so1166454wrw.11 for ; Mon, 28 Sep 2020 05:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:message-id:mime-version :content-transfer-encoding; bh=ce4bSm8EaR0tm9DRJm3Dk8oYpYqen4vUKWOaIzOtxnM=; b=LwEEz0T5Rzgb4F9m3Yj9hrcaSsN4VmdPvu37bmhX0yhvWwR2m8/HWuRz8yfreRd4nF Bp1AxFDruwnj8+VPi9SzFUJ1C8dit/HBrxOo9RK1t9kOB6i26aZJe9JT+IjcgZZtXFeJ SUehU9NCdBRDB4i37o/q4HLcVtuu7wAwDG6iXRTCyRpOftDZsoo6hugXWq36KgrB0jZ6 61i7gkB5AgZpl2Fh/aVJdSzKBVVL3IJvEymWEvyv1TMj+2kUcskqj+yO8nE+iTbcjein dldRTczXYTgyFOFWEs13h7bsOoWHGu6KujOg9P5SSMoYaSVHsK1XUCeCC6jdTtt0QQHc huBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:message-id :mime-version:content-transfer-encoding; bh=ce4bSm8EaR0tm9DRJm3Dk8oYpYqen4vUKWOaIzOtxnM=; b=OkbYsIL2H8ALqgGE2SzwpaIW1NXEw5xCwxEpnfy9rVAjn4/h9XR5vDKsJP1vIRIZLv bf6QH425Qjbqw2+0ETTKzM5IyjDofMjt2LfewM0xYHyTOcH316kzRfQnYfrGSXU9L+yk 0OtUS4fpCjUlgCV4RPxzgwx0ijImCo2aXOy8vbzElpl/vZi0JgxKCDaxfRjxC8DLcjCe L0c4wSJjF/o3n9hbyncjPhEat1A2xMFZqmChgkLZsCvOAUK9wlwg/VOkv5KijyVH7WMN ObWSWX3T3I7LTaSr14NFGwDt32cnIEVgpV2l2E07+RiUdsJGXpIaW2twKJakwBwHLi7H yoSg== X-Gm-Message-State: AOAM532aonqJWmFPs1AAa15chZztUbUhJpKBlYGOFP7DWWrA6M60ikTb 1MLGzDdWowpnpOgeU4RnJJLQrNXsFG8= X-Google-Smtp-Source: ABdhPJwiYueOdTRpqx+YT1DxB9gYtY2CwmyPH8EP5ZTAjrEKsIz0CSNQzSn1l1zlMK+w6DsU76UnDw== X-Received: by 2002:a5d:4a4b:: with SMTP id v11mr1592604wrs.36.1601297440447; Mon, 28 Sep 2020 05:50:40 -0700 (PDT) Received: from freegnu (24.183.22.109.rev.sfr.net. [109.22.183.24]) by smtp.gmail.com with ESMTPSA id u63sm1121305wmb.13.2020.09.28.05.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2020 05:50:39 -0700 (PDT) From: Jeremie Juste To: Robert Pluim Subject: Re: org-table-sum References: <87a6xex5o1.fsf@kyleam.com> <87blhsyw5x.fsf@gmail.com> Date: Mon, 28 Sep 2020 14:50:38 +0200 Message-ID: <87sgb2oyjl.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=jeremiejuste@gmail.com; helo=mail-wr1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kein Test , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LwEEz0T5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: BBCmxl5sTBWM Hello Robert, Thanks for sharing your thoughts. > I suspect that the people using org-table sum would not want to split > the function in two: it=CA=BCs a useful utility function (and why split o= ff > the integer summing? That=CA=BCs always going to be accurate). I see your point here and I agree with you. > > You could make org-table-sum use calc, which would achieve the same. I > don=CA=BCt think there'd be any complaints about floating-point additions > suddenly being more accurate (famous last words) I have investigated a little further about using calc. I haven't come up with a solution yet. I don't know yet which function calc is using to perform this operation. I have tried calcFunc-vsum but fell back on the same issue. #+BEGIN_SRC elisp (calcFunc-vsum 85.6 .1) #+end_src=20=20=20 --=20 Best regards Jeremie Juste