unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* current-time and GMP
@ 2018-08-29  2:30 Stefan Monnier
  2018-08-29  9:07 ` Paul Eggert
  2018-08-29 23:17 ` John Wiegley
  0 siblings, 2 replies; 21+ messages in thread
From: Stefan Monnier @ 2018-08-29  2:30 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-10-22 19:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-29  2:30 current-time and GMP Stefan Monnier
2018-08-29  9:07 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).