#5782: Failure of __pow__ in RDF for noninteger powers of zero
------------------------------+---------------------------------------------
Reporter: kbaker | Owner: somebody
Type: defect | Status: new
Priority: minor | Milestone: sage-3.4.1
Component: basic arithmetic | Keywords: RDF, __pow__, zero
------------------------------+---------------------------------------------
Positive noninteger powers of RDF(0) give nan rather than zero:
{{{
sage: RDF(0)^.5
nan
sage: RDF(0)^(1/2)
nan
}}}
In contrast, noninteger powers of CDF(0) have the correct value:
{{{
sage: CDF(0)^.5
0
sage: CDF(0)^(1/2)
0
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5782>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---