I like the patch. If all tests pass, let's put it in.

Ondrej

On Sun, Nov 29, 2009 at 6:12 PM, Aaron S. Meurer <asmeu...@gmail.com> wrote:
> OK, here are some things that work differently in the two platforms:
> On 32-bit:
> In [6]: print S("(C1 + C2*x)*sin(x*sqrt(2)) + (C3 + C4*x)*cos(x*sqrt(2))")
> (C1 + C2*x)*sin(x*2**(1/2)) + (C3 + C4*x)*cos(x*2**(1/2))
> In [5]: print dsolve(f(x).diff(x, x, x, x) + 4*f(x).diff(x, x) + 4*f(x),
> f(x))
> f(x) == (C1 + C2*x)*sin(x*2**(1/2)) + (C3 + C4*x)*cos(x*2**(1/2))
> On 64-bit:
> In [6]: print S("(C1 + C2*x)*sin(x*sqrt(2)) + (C3 + C4*x)*cos(x*sqrt(2))")
> (C3 + C4*x)*cos(x*2**(1/2)) + (C1 + C2*x)*sin(x*2**(1/2))
> In [7]: print dsolve(f(x).diff(x, x, x, x) + 4*f(x).diff(x, x) + 4*f(x),
> f(x))
> f(x) == (C3 + C4*x)*cos(x*2**(1/2)) + (C1 + C2*x)*sin(x*2**(1/2))
> Notice how the sin and cos are printed differently in each case.  This is
> because Basic._compare_pretty works differently on the two architectures
> (see commit a226e2efe227d0120932224f5f973d317086da89) and is probably also
> related to the .args difference I noted earlier.
> Aaron Meurer
> On Nov 29, 2009, at 2:59 PM, Vinzent Steinberg wrote:
>
> 2009/11/29 Ronan Lamy <ronan.l...@gmail.com>
>>
>> On 32-bit, you've merely replaced one failure with another - so it's
>> maybe not such a good exemple.
>
> Sorry, should be fixed now.
>
> Vinzent
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "sympy-patches" group.
> To post to this group, send email to sympy-patc...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy-patches+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy-patches?hl=en.
> <0001-docs-platform-dependence-of-hashing.patch>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "sympy-patches" group.
> To post to this group, send email to sympy-patc...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy-patches+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy-patches?hl=en.
>

--

You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patc...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.


Reply via email to