#9343: Upgrade PARI to svn snapshot 12577 - a pre-release of PARI 2.4.3.
------------------------------------------------------------------------------------------+
Reporter: was
| Owner: jdemeyer
Type: enhancement
| Status: needs_work
Priority: major
| Milestone: sage-4.6
Component: packages
| Keywords:
Author: Robert Bradshaw, John Cremona, Jeroen Demeyer, William Stein,
David Kirkby | Upstream: N/A
Reviewer:
| Merged:
Work_issues:
|
------------------------------------------------------------------------------------------+
Changes (by drkirkby):
* status: needs_review => needs_work
Comment:
Replying to [comment:236 davidloeffler]:
> Maybe rather than directly testing the answer, one could do something
like this:
> {{{
> sage: x = [calculation]; abs(x - 2.975975720740376676146967119) <
10^(-27)
> True
> }}}
> That would be less dangerous, while still allowing the necessary
flexibility.
The first question I personally need answering is should the number be
real or complex?
I might guess the small imaginary component should not be there at all,
but would my guess be right? I'm not a mathematician.
Only when I know the answer to that question do I feel able to comment on
a test.
Given the number of digits that are printed (> 16), this would suggest to
me that arbitrary precision maths is being used, and not just a floating
point processor. If so, the answer should be the same irrespective of
whether the machine is 32-bit or 64-bit. Rounding errors occur in floating
point processors - they do not on integer arithmetic if done properly.
If this is being done with just an FPU, then printing these number of
digits is a bit pointless.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9343#comment:237>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.