[math-fun] Converting numbers with complex bases