We could easily change this so that we by default go ahead and coerce
the log(10) to RR if its multiplied by something in RR. (so that we
end up with a numeric result).  This is probably a good idea.

On Mon, Jun 2, 2008 at 12:05 PM, Robert Bradshaw
<[EMAIL PROTECTED]> wrote:
>
>
> On Jun 1, 2008, at 2:13 AM, Martin Albrecht wrote:
>
>>
>>> I didn't even know there was a log_b, so I would be *very* happy
>>> to delete it.
>>>
>>>  -- William
>>
>> They are not the same:
>>
>> sage: log_b(10,2)
>> 3.32192809489
>> sage: log(10,2)
>> log(10)/log(2)
>>
>> but log(10,2).n() is.
>
> I don't think we need a separate log_b command for that. However,
> this has always annoyed me:
>
> sage: log(10.0,2)
> 3.32192809488736
> sage: log(10,2.0)
> 1.44269504088896*log(10)
>
> - Robert
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to