fix series of floor and ceiling
commita094e9aecef497d9a3d1505f85b466b49d2e0095
authorStepan Roucka <stepan@roucka.eu>
Thu, 28 Aug 2008 22:14:16 +0000 (29 00:14 +0200)
committerStepan Roucka <stepan@roucka.eu>
Thu, 28 Aug 2008 22:14:16 +0000 (29 00:14 +0200)
treecd23fb62e607e101984c44610557fa15b9e0b12f
parenta2be7620ce9762cdd41b751a2c555a14fe283bde
fix series of floor and ceiling

This patch fixes issue 1057. In the discontinuous points,
the series from right is always computed:
>>>floor(sin(x)).series(x)
0
>>>floor(sin(-x)).series(x)
-1
sympy/functions/elementary/integers.py
sympy/series/tests/test_limits.py
sympy/series/tests/test_nseries.py