Re: [sage-devel] Meaning of log2 etc.

2017-02-23 Thread Peleg Michaeli
Well, if you open such a ticket let us know; I'll gladly add stuff there. On Thursday, 23 February 2017 17:43:29 UTC+2, Michael Orlitzky wrote: > > On 02/23/2017 08:15 AM, Peleg Michaeli wrote: > > Is it not far better to have log2 as a function (log2(x) = log(x, 2)) > > than having it as a

Re: [sage-devel] Meaning of log2 etc.

2017-02-23 Thread Volker Braun
Well log2 could be callable and (coerce to) a constant at the same time, so its not entirely clear that that train has departed... On Thursday, February 23, 2017 at 10:43:29 AM UTC-5, Michael Orlitzky wrote: > > On 02/23/2017 08:15 AM, Peleg Michaeli wrote: > > Is it not far better to have

Re: [sage-devel] Meaning of log2 etc.

2017-02-23 Thread Michael Orlitzky
On 02/23/2017 08:15 AM, Peleg Michaeli wrote: > Is it not far better to have log2 as a function (log2(x) = log(x, 2)) > than having it as a constant? > > It's a bit weird that one tries log2(3) and gets "ValueError: the number > of arguments must be less than or equal to 0". There are a lot of

Re: [sage-devel] Meaning of log2 etc.

2017-02-23 Thread Peleg Michaeli
Is it not far better to have log2 as a function (log2(x) = log(x, 2)) than having it as a constant? It's a bit weird that one tries log2(3) and gets "ValueError: the number of arguments must be less than or equal to 0". If log2 is about to stay a constant, it might be better to throw a more

[sage-devel] Meaning of log2 etc.

2016-02-05 Thread Jori Mäntysalo
Can somebody explain what is the meaning of "log2" in the global namespace? log2? says "- - we need to make sure this at least does not leave log2._gobj uninitialized - -". * * * log? says "See log? for more information about its behavior." Duh. log_gamma? has broken docstring formatting.

Re: [sage-devel] Meaning of log2 etc.

2016-02-05 Thread Nathann Cohen
log2 and pi seem to be of the same race: https://groups.google.com/forum/#!topic/sage-devel/Oi3bLbO5eO0 Nathann On 5 February 2016 at 08:04, Jori Mäntysalo wrote: > Can somebody explain what is the meaning of "log2" in the global namespace? > log2? says "- - we need