Re: [sage-support] abs(pi*i) Bug

2012-02-26 Thread Daniel Krenn
Am Montag, 7. Februar 2011 13:48:51 UTC+1 schrieb Mike Hansen: > > On Mon, Feb 7, 2011 at 1:27 PM, Laurent wrote: > > Le 07/02/2011 13:05, Clemens Heuberger a écrit : > >> sage: abs(pi*I) > >> I*pi > I believe the underlying cause is due to #10064, #10583, #7160, and #6132 all of which are the sa

Re: [sage-support] abs(pi*i) Bug

2011-02-07 Thread Mike Hansen
On Mon, Feb 7, 2011 at 1:27 PM, Laurent wrote: > Le 07/02/2011 13:05, Clemens Heuberger a écrit : >> >> I encountered the following bug: >> >> sage: abs(pi*I) >> I*pi > > I do not know how we define absolute value in Sage. Even in math in general, > I'm not sure of what means the absolute value of

Re: [sage-support] abs(pi*i) Bug

2011-02-07 Thread Laurent
Le 07/02/2011 13:05, Clemens Heuberger a écrit : I encountered the following bug: sage: abs(pi*I) I*pi I do not know how we define absolute value in Sage. Even in math in general, I'm not sure of what means the absolute value of a complex number. Depends on the data of a convex cone ? I su

[sage-support] abs(pi*i) Bug

2011-02-07 Thread Clemens Heuberger
I encountered the following bug: sage: abs(pi*I) I*pi The correct answer would have been pi. Several other examples show a different behaviour, e.g. sage: abs(log(2)*I) abs(I*log(2)) Here, the answer is correct (but not particularly helpful, log(2) would have been better). I do not know wheth