emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Jeremie Juste <jeremiejuste@gmail.com>
Cc: Kein Test <soetwasaberauch@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: org-table-sum
Date: Mon, 28 Sep 2020 15:54:09 +0200	[thread overview]
Message-ID: <m2a6xavwfy.fsf@gmail.com> (raw)
In-Reply-To: <87sgb2oyjl.fsf@gmail.com> (Jeremie Juste's message of "Mon, 28 Sep 2020 14:50:38 +0200")

>>>>> On Mon, 28 Sep 2020 14:50:38 +0200, Jeremie Juste <jeremiejuste@gmail.com> said:
    >> 
    >> You could make org-table-sum use calc, which would achieve the same. I
    >> donʼt think there'd be any complaints about floating-point additions
    >> suddenly being more accurate (famous last words)
    Jeremie> I have investigated a little further about using calc. I haven't come up
    Jeremie> with a solution yet. I don't know yet which function calc is using to
    Jeremie> perform this operation. I have tried calcFunc-vsum but fell back on the
    Jeremie> same issue.

    Jeremie> #+BEGIN_SRC elisp
    Jeremie> (calcFunc-vsum 85.6 .1)
    Jeremie> #+end_src   

I donʼt think calcFunc-vsum is intended to be called by lisp code
directly. Iʼd investigate how TBLFM calls it, and see if that can be
moved into org-table-sum.

Robert
-- 


  reply	other threads:[~2020-09-28 13:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24 19:38 org-table-sum Kein Test
2020-09-24 20:08 ` org-table-sum Mark Janes
2020-10-22 22:20   ` org-table-sum Jeremie Juste
2020-09-24 20:48 ` org-table-sum Kyle Meyer
2020-09-24 21:07   ` org-table-sum Kyle Meyer
2020-09-25  8:59   ` org-table-sum Robert Pluim
2020-09-26 23:07     ` org-table-sum Jeremie Juste
2020-09-28 12:27       ` org-table-sum Robert Pluim
2020-09-28 12:50         ` org-table-sum Jeremie Juste
2020-09-28 13:54           ` Robert Pluim [this message]
2020-10-24 15:15     ` org-table-sum Jeremie Juste
2020-09-25  7:51 ` org-table-sum Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2a6xavwfy.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jeremiejuste@gmail.com \
    --cc=soetwasaberauch@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).