On 2013-07-01, Joris Vankerschaver <joris.vankerscha...@gmail.com> wrote:

>   sage: u, v = var('u, v', domain='real')
>   sage: sqrt(-1/(u^2+v^2-1)).simplify_radical()  # This will hang

This is a bug in Maxima:

(%i2) radcan (sqrt (-1 / (u^2 + v^2 - 1))), domain=complex;

It waits apparently forever here -- but it is actually looping over
*ALPHA (not sure why) which is a large prime number (8388593).

(%i3) :lisp (setq *alpha 17)
17
(%i3) radcan(sqrt(-1/(u^2+v^2-1))), domain=complex;
(%o3) 1/sqrt(-v^2-u^2+1)

I've reported this as bug # 2605.

best

Robert Dodier

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to