These are chat archives for symengine/symengine

31st
Mar 2015
Chris Swierczewski
@cswiercz
Mar 31 2015 19:38
@certik @isuruf I was just stopping by the chatroom when I noticed your gcd discussion. Having little knowledge of how csympy is written I might have a suggestion. (How pretentious of me!) A friend of mine and I are writing a little C++11 library implementing rational arithmetic (plus soon to be other things) mostly for the purposes of learning the new language. We have a prototype for a gcd that accepts any class / type as long as it implements % and knows how to evaluate != 0. The project is cswiercz/rational and here is the relevant gcd code. Just thought I'd share.