On Friday, July 3, 2015 at 7:43:44 PM UTC+2, Joachim Durchholz wrote: > > Am 03.07.2015 um 14:48 schrieb Robert Pollak: > > I have got a newbie question: Does SymPy provide a way to deal with > numbers > > in different numeral systems and e.g. to convert them between different > > systems? Or do I have to tell my students that they have to program this > by > > themselves :) ? > > That's representation, which usually isn't considered a part of symbolic > math. > So no, SymPy does not offer routines for that.
I understand. > A short internet search > showed me that Gmpy should have them, so I suggest looking there. > Thank you for this hint, which lead me to gmpy2.digits(x, base) for one conversion direction of integers. However, it now came to my mind that our students should also be able to deal with floats, and there might be no 'packaged' solution for that available yet. (They did this with Mathematica until now.) -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/937afe89-6ce5-4ed1-8468-832e85afe893%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
