Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium

New issue 1643 by smichr: int(log(4,2).evalf())
http://code.google.com/p/sympy/issues/detail?id=1643

Should evalf could be a little smarter about exact logs like this? I know
there can be floating point issues, but it seems like this should be able
to be intercepted.

###
>>> log(4,2)
log(4)/log(2)
>>> N(_)
2.00000000000000
>>> int(_)
1
###

/c

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to