seems to me that asking for the "sign" of b^(1/3) in the complex domain
is nonsense. There are 3 cube roots. Let q be one of them; it doesn't
then - (1+sqrt(3)*i)*q/2 are the other two. Yes, two. because there
are two sqrt(3).
If you cannot deal with all 3 of them in Sage, then you have a problem
in Sage, regardless of whether asking Maxima for a "sign" leads to
I think that if Sage requires the power of cylindrical algebraic
which such questions seem to require, then calling Maxima, which does
not have that programmed, is an inadequate step in whatever you
are trying to do,.
On Thursday, August 10, 2017 at 11:37:47 AM UTC-7, Richard_L wrote:
> The following string sent to maxima causes a seg-fault and core dump:
> 450 line = line[ind_semi+1:]
> 451 if statement:
> 2-> 452 result = ((result + '\n') if result else '') +
> 453 else:
> 454 statement = line[:ind_dollar]
> ipdb> p "#$%s$"%statement
> ipdb> s
> ;;; Detected access to protected memory, also kwown as 'bus or
> segmentation fault'.
> ;;; Jumping to the outermost toplevel prompt
> ... [elided]
> Segmentation fault (core dumped)
> NOTE 1: The line numbering corresponds to SageMath version 8.0 and
> I observe the same behavior with Maxima-5.39.0 but did not
> NOTE 2: Not visible in the ipdb session are the declarations of the
> variables. So, in addition to the ipdb session, I attach the .sage source.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.