From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: emacs-devel@gnu.org
Subject: current-time and GMP
Date: Tue, 28 Aug 2018 22:30:48 -0400 [thread overview]
Message-ID: <jwvlg8plxl3.fsf-monnier+emacs@gnu.org> (raw)
Of the functions that use "handmade" bignums, there's also current-time.
Since this one tends to grow over time in precision than in magnitude,
I'm wondering if people have an idea what to do with it:
- keep it as is (that's the easy way out)
- use GMP's mpf or mpq numbers (that seems like a lot of work for this
only use, tho I guess we could then use those numbers in Calc as
well).
- use a handmade arbitrary-precision float made up of a bignum plus
a "scaling factor" (halfway solution: less work, but less gain).
WDYT?
Stefan
next reply other threads:[~2018-08-29 2:30 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 2:30 Stefan Monnier [this message]
2018-08-29 9:07 ` current-time and GMP Paul Eggert
2018-08-29 19:16 ` Stefan Monnier
2018-08-29 21:10 ` Helmut Eller
2018-10-02 1:09 ` Paul Eggert
2018-10-22 15:07 ` Joseph Mingrone
2018-10-22 15:15 ` Kaushal Modi
2018-10-22 15:49 ` Eli Zaretskii
2018-10-22 15:50 ` Eli Zaretskii
2018-10-22 15:57 ` Kaushal Modi
2018-10-22 16:10 ` Kaushal Modi
2018-10-22 16:24 ` Joseph Mingrone
2018-10-22 17:27 ` Eli Zaretskii
2018-10-22 19:38 ` Joseph Mingrone
2018-10-22 18:31 ` Paul Eggert
2018-10-22 19:39 ` Joseph Mingrone
2018-08-29 23:17 ` John Wiegley
2018-08-30 1:27 ` Stefan Monnier
2018-08-30 2:42 ` T.V Raman
2018-08-30 5:51 ` John Wiegley
2018-08-30 5:51 ` John Wiegley
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlg8plxl3.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.