I'm looking for a function that has two asymptotes parallel to the x-axis. Preferably it should also only cross the x-axis at (0,0) and be built without using any trigonometric functions. Mind you, if that's not possible then so be it. However, that is my preference.
The purpose of this is that when the function is placed into the floor function and (manipulated a little) it will generate a function that is 0 at 0, 1 whenever the input is positive and -1 when the input is negative. Such a curve is the best bet I can come up with towards guessing a means to build such a construct.
I think I have seen the function somewhere at some point or a variation. I just cannot remember what it was.
-The Great Duck
(Also, while I suppose it is probably obvious (can't place it in floor), no piece wise please)