Add support for bidirectional limits (dir="real")

and fix Limit printing...

- [ ] do we need this at all? (we don't have specific algorithms for bidirectional limits yet)
- [ ] better name for dir value? (variants: "0", "both"); "real" is from the Maple, I think
I find this more cryptic.
On Oct 4, 2014 11:32 PM, "Christopher Smith" <notifications@github.com>
wrote:

> In sympy/printing/latex.py:
>
> > @@ -562,8 +562,11 @@ def _print_Integral(self, expr):
> >      def _print_Limit(self, expr):
> >          e, z, z0, dir = expr.args
> >
> > -        tex = r"\lim_{%s \to %s}" % (self._print(z),
> > -                                     self._print(z0))
> > +        tex = r"\lim_{%s \to " % self._print(z)
> > +        if str(dir) == "real" or z0 in (S.Infinity, S.NegativeInfinity):
>
> ok. I missed the sympification of the arg. Would dir.name be better than
> str(dir)?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sympy/sympy/pull/8194/files#r18431164>.
>