* Calc; Emacs has big-number support
@ 2018-09-03 9:11 David Kastrup
2018-09-03 9:43 ` Robert Pluim
0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2018-09-03 9:11 UTC (permalink / raw)
To: emacs-devel
Please describe exactly what actions triggered the bug and the
precise symptoms of the bug. If possible, include a backtrace by
doing `\[toggle-debug-on-error]', then reproducing the bug.
With big number support native to Emacs, the number support primitives
should no longer employ the historic large integer representation. As
XEmacs is essentially frozen (and has had (optional?) big number support
for much longer anyway), this should not be a consideration. As opposed
to the (never completed) Calc 2.0 project of using Emacs floats where
feasible, this does not require bolstering precice arithmetic with fast
but approximative floating point arithmetic but is a wholesale
replacement of precise integer arithmetic.
As such, it should not pose new numeric and structural challenges but
would be "just" a case of simplifying code.
Emacs : GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, GTK+ Version 3.23.1)
of 2018-08-13
Package: Calc
--
David Kastrup
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Calc; Emacs has big-number support
2018-09-03 9:11 Calc; Emacs has big-number support David Kastrup
@ 2018-09-03 9:43 ` Robert Pluim
2018-09-03 10:00 ` David Kastrup
0 siblings, 1 reply; 3+ messages in thread
From: Robert Pluim @ 2018-09-03 9:43 UTC (permalink / raw)
To: David Kastrup; +Cc: emacs-devel
David Kastrup <dak@gnu.org> writes:
> Please describe exactly what actions triggered the bug and the
> precise symptoms of the bug. If possible, include a backtrace by
> doing `\[toggle-debug-on-error]', then reproducing the bug.
>
>
> With big number support native to Emacs, the number support primitives
> should no longer employ the historic large integer representation. As
> XEmacs is essentially frozen (and has had (optional?) big number support
> for much longer anyway), this should not be a consideration. As opposed
> to the (never completed) Calc 2.0 project of using Emacs floats where
> feasible, this does not require bolstering precice arithmetic with fast
> but approximative floating point arithmetic but is a wholesale
> replacement of precise integer arithmetic.
>
> As such, it should not pose new numeric and structural challenges but
> would be "just" a case of simplifying code.
Yes. I posted a proof-of-concept patch here a while back, and am
(slowly) working on making sure the result works correctly.
Robert
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Calc; Emacs has big-number support
2018-09-03 9:43 ` Robert Pluim
@ 2018-09-03 10:00 ` David Kastrup
0 siblings, 0 replies; 3+ messages in thread
From: David Kastrup @ 2018-09-03 10:00 UTC (permalink / raw)
To: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> David Kastrup <dak@gnu.org> writes:
>
>> Please describe exactly what actions triggered the bug and the
>> precise symptoms of the bug. If possible, include a backtrace by
>> doing `\[toggle-debug-on-error]', then reproducing the bug.
>>
>>
>> With big number support native to Emacs, the number support primitives
>> should no longer employ the historic large integer representation. As
>> XEmacs is essentially frozen (and has had (optional?) big number support
>> for much longer anyway), this should not be a consideration. As opposed
>> to the (never completed) Calc 2.0 project of using Emacs floats where
>> feasible, this does not require bolstering precice arithmetic with fast
>> but approximative floating point arithmetic but is a wholesale
>> replacement of precise integer arithmetic.
>>
>> As such, it should not pose new numeric and structural challenges but
>> would be "just" a case of simplifying code.
>
> Yes. I posted a proof-of-concept patch here a while back, and am
> (slowly) working on making sure the result works correctly.
Great to hear! Thanks!
--
David Kastrup
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-09-03 10:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-03 9:11 Calc; Emacs has big-number support David Kastrup
2018-09-03 9:43 ` Robert Pluim
2018-09-03 10:00 ` David Kastrup
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).