Sorry, I don't understand.

On Sunday, 12 January 2025 at 12:55:26 UTC+1 emanuel.c...@gmail.com wrote:

Le vendredi 10 janvier 2025 à 22:36:39 UTC+1, axio…@yahoo.de a écrit :

fricas dilog and sage dilog are not the same:

sage: fricas(polylog(3, x))
polylog(3,x)
sage: fricas(dilog(x))
dilog(- x + 1)

This deserves a github issue. Fixing the interface is (probably) not that 
hard… Would you mind issuing this ?


I don't understand what you mean with "fixing the interface".  The 
definitions of dilog in FriCAS and SageMath differ:

sage: dilog(1.0)
1.64493406684823
sage: fricas.dilog(0.0)
1.6449340668_4822643647_24152

(this is pi^2/6)

The translation of dilog done by the interface is (hopefully) correct.  So, 
the only thing that we could do is to change SageMath's definition.

If I understand correctly, the definition of polylog is the same in FriCAS 
and SageMath.

Martin

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/ce7ed918-8600-4485-a7c1-716ddad8af72n%40googlegroups.com.

Reply via email to