#12600: machine epsilon for RR, RDF, ...
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner: jason, jkantor
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: numerical | Resolution:
Keywords: machine epsilon | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/12600 | 5e83b95e5161797bddc676156e9d629d839e3670
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:
Old description:
> Matlab and Octave have a function {{{eps(...)}}} to show the machine
> epsilon. From the manual of octave: "More precisely, `eps' is the
> relative spacing between any two adjacent numbers in the machine's
> floating point system.".
>
> Sage should have that, too.
>
> E.g., we should have something like
> {{{
> sage: RDF(1).eps()
> 2.2204e-16
> }}}
New description:
Matlab and Octave have a function {{{eps(...)}}} to show the machine
epsilon. From the manual of octave: "More precisely, `eps' is the relative
spacing between any two adjacent numbers in the machine's floating point
system.".
Sage should have that, too.
E.g., we should have something like
{{{
sage: RDF.epsilon()
2.220446049250313e-16
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/12600#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.