On 8-Mar-10, at 6:03 PM, Dr. David Kirkby wrote:

Minh Nguyen wrote:
Hi David,
On Tue, Mar 9, 2010 at 10:55 AM, Dr. David Kirkby
<david.kir...@onetel.net> wrote:
<SNIP>
sage -t -long --verbose "devel/sage/sage/interfaces/mathematica.py"
Can you also try this?
sage -t -long -optional --verbose "devel/sage/sage/interfaces/ mathematica.py"

Sure - see below:

I'm a bit puzzled by this one:


   sage: def math_bessel_K(nu,x):
   ...       return mathematica(nu).BesselK(x).N(20).sage()
   ...
sage: math_bessel_K(2,I) # optional - mathematica
   0.180489972066962*I - 2.592886175491197         # 32-bit
   -2.592886175491196978 + 0.1804899720669620266*I # 64-bit

What is supposed to be 32 or 64-bit ? Sage or Mathematica?

In this case, the # XXX-bit flag refer to whatever environment sage thinks it is executing in.

I had this issue with Mathematica on multiple machines, and just wrote

sage: complex.Real, complex.Imag() to force the order and not deal with Mathematica's formatting at all.

In this example, isn't the sage() function supposed to convert this to a sage data type, which has fixed order printing on all architectures?

Nick

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to