#9263: airy_ai yields wrong results in arbitrary precision
--------------------------------+-------------------------------------------
Reporter: zimmerma | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.4
Component: basic arithmetic | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
{{{
----------------------------------------------------------------------
| Sage Version 4.4.2, Release Date: 2010-05-19 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: n(airy_ai(1),digits=100)
0.1352924163128813861423083153567858971655368804931640625000000000000000000000000000000000000000000000
}}}
Clearly the last digits are wrong. It looks like Sage only knows how
to compute Ai(x) in double precision, and then extended the double
precision result to 100 digits.
This is a *defect*: an error should be raised if the target precision
cannot be attained (or Sage should be able to compute
Ai(x) to arbitrary precision).
I guess this problem concerns other functions than Ai.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9263>
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.